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
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user