leds-lm3530: replace i2c_client with led_classdev
authorKim, Milo <Milo.Kim@ti.com>
Fri, 23 Mar 2012 22:02:11 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:35 +0000 (16:58 -0700)
commite13d97865942e9dcf4fdd39d9fb9c5ae31e7c3d1
treecaf4b82c3b535e9b52e59370a6d104d86205958b
parentbbe6453204c568723679212f6d0653b92b3d6244
leds-lm3530: replace i2c_client with led_classdev

To get members of lm3530_data, use 'struct led_classdev' rather than
'struct i2c_client'.

[akpm@linux-foundation.org: fix 80-column fixes more nicely]
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
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/leds/leds-lm3530.c