regulator: mp886x: use .probe_new
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 2 Jul 2020 02:02:00 +0000 (10:02 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jul 2020 15:45:46 +0000 (16:45 +0100)
commite2c6678bd836861093eecd733610f77b2d87e9f8
treeeeec82f092b25b1407a1ca6ba6770dd3b148b034
parent94462138f368a5e079d53d578509276e4366d0c1
regulator: mp886x: use .probe_new

Use the new .probe_new for mp886x. It does not use the const
struct i2c_device_id * argument, so convert it to utilise the
simplified i2c driver registration.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20200702100200.1a4c65d1@xhacker.debian
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mp886x.c