]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ab8500-sysctrl: Let sysctrl driver work without pdata
authorFabio Baltieri <fabio.baltieri@linaro.org>
Fri, 26 Apr 2013 12:17:18 +0000 (14:17 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 May 2013 21:23:21 +0000 (23:23 +0200)
commit2779de8a839d661d21628d3d76eedf131e1e8bf3
treead52c0a00e073083ebd2948cd54b7db61f082725
parent1403f2c49c8fd233a08329183a935e2cf40ccd76
mfd: ab8500-sysctrl: Let sysctrl driver work without pdata

A check for a valid plat->sysctrl was introduced in:

24ae8c5 mfd: ab8500-sysctrl: Error check clean up

but the driver works just fine even without that initialization data,
and enforcing it breaks existing platforms for no reason.

This patch removes the check and let the driver go ahead with probe.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-sysctrl.c