diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 20:19:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 20:19:46 +0200 |
commit | 2fe83b3ad12d43799af5f3156886eca443a88bac (patch) | |
tree | 1f09c2f0013f4742106f7b1732da6fdc45b18d39 /drivers/usb/misc/appledisplay.c | |
parent | Merge branch 'audit.b39' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
parent | leds: cr_bllcd.c: build fix (diff) | |
download | linux-2fe83b3ad12d43799af5f3156886eca443a88bac.tar.xz linux-2fe83b3ad12d43799af5f3156886eca443a88bac.zip |
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
leds: cr_bllcd.c: build fix
backlight: Convert from struct class_device to struct device
backlight: Fix order of Kconfig entries
Diffstat (limited to 'drivers/usb/misc/appledisplay.c')
-rw-r--r-- | drivers/usb/misc/appledisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index b09c83568c1a..1cb56f2d5c84 100644 --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c @@ -138,7 +138,7 @@ exit: static int appledisplay_bl_update_status(struct backlight_device *bd) { - struct appledisplay *pdata = class_get_devdata(&bd->class_dev); + struct appledisplay *pdata = bl_get_data(bd); int retval; pdata->msgdata[0] = 0x10; @@ -159,7 +159,7 @@ static int appledisplay_bl_update_status(struct backlight_device *bd) static int appledisplay_bl_get_brightness(struct backlight_device *bd) { - struct appledisplay *pdata = class_get_devdata(&bd->class_dev); + struct appledisplay *pdata = bl_get_data(bd); int retval; retval = usb_control_msg( |