backlight: Remove unneeded owner field
Remove uneeded owner field from backlight_properties structure. Nothing uses it and it is unlikely that it will ever be used. The backlight class uses other means to ensure that nothing references unloaded code. Based on a patch from Dmitry Torokhov <dtor@insightbb.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
This commit is contained in:
@@ -178,7 +178,6 @@ static int appledisplay_bl_get_brightness(struct backlight_device *bd)
|
||||
}
|
||||
|
||||
static struct backlight_properties appledisplay_bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = appledisplay_bl_get_brightness,
|
||||
.update_status = appledisplay_bl_update_status,
|
||||
.max_brightness = 0xFF
|
||||
|
Reference in New Issue
Block a user