aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/appledisplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c
index cf70c16f0e3f..4e88553e1666 100644
--- a/drivers/usb/misc/appledisplay.c
+++ b/drivers/usb/misc/appledisplay.c
@@ -137,7 +137,7 @@ exit:
137 137
138static int appledisplay_bl_update_status(struct backlight_device *bd) 138static int appledisplay_bl_update_status(struct backlight_device *bd)
139{ 139{
140 struct appledisplay *pdata = class_get_devdata(&bd->class_dev); 140 struct appledisplay *pdata = bl_get_data(bd);
141 int retval; 141 int retval;
142 142
143 pdata->msgdata[0] = 0x10; 143 pdata->msgdata[0] = 0x10;
@@ -158,7 +158,7 @@ static int appledisplay_bl_update_status(struct backlight_device *bd)
158 158
159static int appledisplay_bl_get_brightness(struct backlight_device *bd) 159static int appledisplay_bl_get_brightness(struct backlight_device *bd)
160{ 160{
161 struct appledisplay *pdata = class_get_devdata(&bd->class_dev); 161 struct appledisplay *pdata = bl_get_data(bd);
162 int retval; 162 int retval;
163 163
164 retval = usb_control_msg( 164 retval = usb_control_msg(