lantiq: use more devm for i2c
authorRosen Penev <rosenp@gmail.com>
Sat, 19 Oct 2024 02:08:02 +0000 (19:08 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 Nov 2024 21:36:16 +0000 (22:36 +0100)
commit44824f0b787b13e2f2fccc58256b2c42fa3f9f5d
treeabd0c7caee3484fdcb82b42fdaa6120bc5f315dd
parentadb921c34ff220951a699665bb35dc0e3538b3b2
lantiq: use more devm for i2c

i2c_add_numbered_adapter is the wrong function to use here. It requires
setting nr to some value, otherwise it behaves the same as
i2c_add_adapter. nr is not set.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16825
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/lantiq/patches-6.6/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch