leds: max8997: Don't error if there is no pdata
The driver works just fine if no platform data is supplied. Signed-off-by:Paul Cercueil <paul@crapouillou.net> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by:
Pavel Machek <pavel@ucw.cz>
Showing
Please register or sign in to comment