]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: core: Simplify storing device_node in mfd_match_of_node_to_dev()
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Wed, 24 Dec 2025 12:44:58 +0000 (13:44 +0100)
committerLee Jones <lee@kernel.org>
Thu, 22 Jan 2026 14:23:07 +0000 (14:23 +0000)
commit7d60a2b8c23a7109f3048c6cee77cc9ffa832755
treef43dbe24ef557fe2b1db6fcd54590aecdc53fd7a
parentcd18e9af79ad17db88c0799197ed1fd948396388
mfd: core: Simplify storing device_node in mfd_match_of_node_to_dev()

of_node_get() returns the same pointer it received and canonical form of
storing device_node is to use of_node_get() in the assignment.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251224124456.208529-4-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/mfd-core.c