leds: lp50xx: Switch to new style i2c-driver probe function
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 16 Feb 2021 15:50:45 +0000 (17:50 +0200)
committerPavel Machek <pavel@ucw.cz>
Fri, 19 Feb 2021 21:15:34 +0000 (22:15 +0100)
commitea1ff99c9d235b8a54571d4292c71fce60993117
treeaff90eb0fec1864a0129adf2ab9861edb842ee47
parent9a10def9ceb5fa341d96a8b731dc2dc492e48d11
leds: lp50xx: Switch to new style i2c-driver probe function

Switch to the new style i2c-driver probe_new probe function.
Note we do not have any old style board files using this but
user still has a possibility to instantiate device from sysfs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lp50xx.c