]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/rockchip: inno_hdmi: switch i2c registration to devm functions
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 12 May 2025 12:46:08 +0000 (20:46 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 8 Jul 2025 15:44:08 +0000 (17:44 +0200)
commit078bb17c7bbfe5bb119943fb7a9ef4f9a8c8c543
tree9bad3ada22caaf551dc4f9b10f563b88d9947eb5
parent1749267beee76bfd8108f5071afb870903c83dab
drm/rockchip: inno_hdmi: switch i2c registration to devm functions

Switch from i2c_add_adapter() to resource managed
devm_i2c_add_adapter(), which will make the cleanup code more simpler.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250512124615.2848731-8-andyshrk@163.com
drivers/gpu/drm/rockchip/inno_hdmi.c