]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/regulator/pv88060-regulator.c
regulator: Convert i2c drivers to use .probe_new
authorAxel Lin <axel.lin@ingics.com>
Thu, 9 Jan 2020 15:58:08 +0000 (23:58 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jan 2020 15:03:06 +0000 (15:03 +0000)
commit77e29598ca3fc20314f1acec35ada9706b3ea16b
tree2f7c4a95d54f48956a28eee7fc53e25192dbee45
parent7eec67869893bc34bd3a3126e5124a4ef017e0cd
regulator: Convert i2c drivers to use .probe_new

Use the new .probe_new for i2c drivers.
These drivers do not use const struct i2c_device_id * argument, so convert
them to utilise the simplified i2c driver registration.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200109155808.22003-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
12 files changed:
drivers/regulator/da9210-regulator.c
drivers/regulator/da9211-regulator.c
drivers/regulator/isl9305.c
drivers/regulator/lp3971.c
drivers/regulator/ltc3676.c
drivers/regulator/mt6311-regulator.c
drivers/regulator/pv88060-regulator.c
drivers/regulator/pv88090-regulator.c
drivers/regulator/slg51000-regulator.c
drivers/regulator/sy8106a-regulator.c
drivers/regulator/sy8824x.c
drivers/regulator/tps65132-regulator.c