mfd: mc13xxx: move to coredevice_initcall
The PMIC is often a dependency for other devices, so make sure
it's initialized early. While at it, merge the spi/i2c registration
into a single initcall and use IS_ENABLED instead of ifdefs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b90e1f7 commit b42bcee8f4bfb36565483e8e681d8132c4c382c4
@Sascha Hauer Sascha Hauer authored on 8 May 2014
Showing 1 changed file
View
drivers/mfd/mc13xxx.c