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
- 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 <>
Signed-off-by: Fabio Baltieri <>
Signed-off-by: Lee Jones <>
Signed-off-by: Samuel Ortiz <>
1 file changed