mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
video / backlight: remove the backlight_device_registered API
Since we will need the backlight_device_get_by_type API, we can use it instead of the backlight_device_registered API whenever necessary so remove the backlight_device_registered API. Signed-off-by: Aaron Lu <[email protected]> Acked-by: Jingoo Han <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
f6a4790a54
commit
01c3664de6
3 changed files with 1 additions and 8 deletions
|
|
@ -407,12 +407,6 @@ struct backlight_device *backlight_device_get_by_type(enum backlight_type type)
|
|||
}
|
||||
EXPORT_SYMBOL(backlight_device_get_by_type);
|
||||
|
||||
bool backlight_device_registered(enum backlight_type type)
|
||||
{
|
||||
return backlight_device_get_by_type(type) ? true : false;
|
||||
}
|
||||
EXPORT_SYMBOL(backlight_device_registered);
|
||||
|
||||
/**
|
||||
* backlight_device_unregister - unregisters a backlight device object.
|
||||
* @bd: the backlight device object to be unregistered and freed.
|
||||
|
|
|
|||
Loading…
Reference in a new issue