]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: mc13xxx: Simplify probe() & remove()
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 14 Dec 2013 13:03:12 +0000 (17:03 +0400)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:10 +0000 (08:28 +0000)
commitfeb9683b5357bf66691cbb719673ce318bc57e1e
treeaf101d60af6701be60d1d7659248f509b99fa222
parent0beb6ec8e99f07758ccba757bdb2696078e88a7f
mfd: mc13xxx: Simplify probe() & remove()

This patch simplifies probe() and remove() functions by moving
some initialisation code out from the I2C/SPI init() and exit()
functions and into the core driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mc13xxx-core.c
drivers/mfd/mc13xxx-i2c.c
drivers/mfd/mc13xxx-spi.c
drivers/mfd/mc13xxx.h