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
|
|
@ -1797,7 +1797,6 @@ static int aty128_bl_get_brightness(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties aty128_bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = aty128_bl_get_brightness,
|
||||
.update_status = aty128_bl_update_status,
|
||||
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
|
||||
|
|
|
|||
|
|
@ -2178,7 +2178,6 @@ static int aty_bl_get_brightness(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties aty_bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = aty_bl_get_brightness,
|
||||
.update_status = aty_bl_update_status,
|
||||
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
|
||||
|
|
|
|||
|
|
@ -134,7 +134,6 @@ static int radeon_bl_get_brightness(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties radeon_bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = radeon_bl_get_brightness,
|
||||
.update_status = radeon_bl_update_status,
|
||||
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
|
||||
|
|
|
|||
|
|
@ -106,7 +106,6 @@ EXPORT_SYMBOL(corgibl_limit_intensity);
|
|||
|
||||
|
||||
static struct backlight_properties corgibl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = corgibl_get_intensity,
|
||||
.update_status = corgibl_set_intensity,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ static int hp680bl_get_intensity(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties hp680bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.max_brightness = HP680_MAX_INTENSITY,
|
||||
.get_brightness = hp680bl_get_intensity,
|
||||
.update_status = hp680bl_set_intensity,
|
||||
|
|
|
|||
|
|
@ -142,7 +142,6 @@ static int locomolcd_get_intensity(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties locomobl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = locomolcd_get_intensity,
|
||||
.update_status = locomolcd_set_intensity,
|
||||
.max_brightness = 4,
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ static int progearbl_get_intensity(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties progearbl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = progearbl_get_intensity,
|
||||
.update_status = progearbl_set_intensity,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -104,7 +104,6 @@ static int nvidia_bl_get_brightness(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties nvidia_bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = nvidia_bl_get_brightness,
|
||||
.update_status = nvidia_bl_update_status,
|
||||
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
|
||||
|
|
|
|||
|
|
@ -347,7 +347,6 @@ static int riva_bl_get_brightness(struct backlight_device *bd)
|
|||
}
|
||||
|
||||
static struct backlight_properties riva_bl_data = {
|
||||
.owner = THIS_MODULE,
|
||||
.get_brightness = riva_bl_get_brightness,
|
||||
.update_status = riva_bl_update_status,
|
||||
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
|
||||
|
|
|
|||
Loading…
Reference in a new issue