mfd: Remove checking on max8925 regulator[0]
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 6 May 2011 09:21:25 +0000 (17:21 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:37 +0000 (19:45 +0200)
commitebf9988ecad6727e5ae950fc2c72b963a1bfc0fe
treee9dc9e5b394c181c9e484a9509c3ba88223cb91d
parentcea438dda618797922d0bfc4814e832bab19ac19
mfd: Remove checking on max8925 regulator[0]

Since regulator[0] is always checking in mfd driver, it results in
registration failure without regulator[0].

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max8925-core.c