This is the first batch of MFD fixes for 3.10.

It's bigger than I would like, most of it is due to the big ab/db8500 merge
that went through during the 3.10 merge window.

So we have:

- Some build fixes for the tps65912 and ab8500 drivers.
- A couple of build fixes for the the si476x driver with pre 4.3 gcc
  compilers.
- A few runtime breakage fixes (probe failures or oopses) for the ab8500
  and db8500 drivers.
- Some sparse or regular gcc warning fixes for the si476x, ab8500 and
  cros_ec drivers.
mfd: ab8500-sysctrl: Let sysctrl driver work without pdata

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

2377e52 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>
1 file changed