backlight: convert backlight i2c drivers to module_i2c_driver
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Mar 2012 22:01:59 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:32 +0000 (16:58 -0700)
commit81ce6864444facc95ba7fe25575153425106c985
treef30825d4a8c4b7b68f3f1b1cf326cddfbf83ba3a
parent7d1ae8a8542dfc5f7eff51f9247bbd69244e9f88
backlight: convert backlight i2c drivers to module_i2c_driver

Factor out some boilerplate code for i2c driver registration into
module_i2c_driver.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Michael Hennerich <hennerich@blackfin.uclinux.org>
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/adp8860_bl.c
drivers/video/backlight/adp8870_bl.c
drivers/video/backlight/tosa_bl.c