mfd: adp5520: Use module_i2c_driver()
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 15 Mar 2013 11:40:28 +0000 (17:10 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Apr 2013 09:21:14 +0000 (11:21 +0200)
commit099bb952b064aebd76b30ca25b51ff6440663195
treea6881a7ddec28afd0cc73ae92ef38c2de38ee43c
parent8b5fd8516cfdd187f35c45f5f818da94aa3b42e9
mfd: adp5520: Use module_i2c_driver()

module_i2c_driver() removes some boilerplate and makes the code
simple.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/adp5520.c