Commit 078bb17
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.com1 parent 1749267 commit 078bb17
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
1233 | | - | |
| 1233 | + | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
1237 | 1236 | | |
1238 | 1237 | | |
1239 | 1238 | | |
| |||
1316 | 1315 | | |
1317 | 1316 | | |
1318 | 1317 | | |
1319 | | - | |
| 1318 | + | |
1320 | 1319 | | |
1321 | 1320 | | |
1322 | 1321 | | |
| |||
1330 | 1329 | | |
1331 | 1330 | | |
1332 | 1331 | | |
1333 | | - | |
1334 | | - | |
1335 | 1332 | | |
1336 | 1333 | | |
1337 | 1334 | | |
| |||
1347 | 1344 | | |
1348 | 1345 | | |
1349 | 1346 | | |
1350 | | - | |
1351 | 1347 | | |
1352 | 1348 | | |
1353 | 1349 | | |
| |||
0 commit comments