bq2415x_charger: Use module_i2c_driver
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 27 Nov 2012 05:58:45 +0000 (11:28 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 6 Jan 2013 02:41:01 +0000 (18:41 -0800)
commit463df5147edb2d8e3df1300b02c192a5642e72c4
tree70ccaa05410212a52cd7f387463910ea4cf988cd
parentd8ecb67581d342569115d62bad0be3b8294eb48b
bq2415x_charger: Use module_i2c_driver

module_i2c_driver() makes the code simpler by eliminating module_init and
module_exit calls.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/bq2415x_charger.c