mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
This commit is contained in:
parent
2fd5a15489
commit
dfcba20067
20 changed files with 0 additions and 23 deletions
|
|
@ -111,7 +111,6 @@ static int pmu_backlight_get_brightness(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties pmu_backlight_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = pmu_backlight_get_brightness,
|
||||
.update_status = pmu_backlight_update_status,
|
||||
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
|
||||
|
|
|
|||
Loading…
Reference in a new issue