]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8acfe5b40001fee33f5ae4818fc44fdc6b38bcc9
treeeeec82f092b25b1407a1ca6ba6770dd3b148b034
parentb47429ea9c5cbb638fd629a4ef328efd5637180b
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