Commit 1bff3a20 authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds

backlight: rename corgibl_limit_intensity() to genericbl_limit_intensity()

The rename of corgibl_limit_intensity is missed in commit d00ba726
("backlight: Rename the corgi backlight driver to generic").  Let's fix it
now.
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4f5a66b0
...@@ -56,7 +56,7 @@ static int genericbl_get_intensity(struct backlight_device *bd) ...@@ -56,7 +56,7 @@ static int genericbl_get_intensity(struct backlight_device *bd)
* Called when the battery is low to limit the backlight intensity. * Called when the battery is low to limit the backlight intensity.
* If limit==0 clear any limit, otherwise limit the intensity * If limit==0 clear any limit, otherwise limit the intensity
*/ */
void corgibl_limit_intensity(int limit) void genericbl_limit_intensity(int limit)
{ {
struct backlight_device *bd = generic_backlight_device; struct backlight_device *bd = generic_backlight_device;
...@@ -68,7 +68,7 @@ void corgibl_limit_intensity(int limit) ...@@ -68,7 +68,7 @@ void corgibl_limit_intensity(int limit)
backlight_update_status(generic_backlight_device); backlight_update_status(generic_backlight_device);
mutex_unlock(&bd->ops_lock); mutex_unlock(&bd->ops_lock);
} }
EXPORT_SYMBOL(corgibl_limit_intensity); EXPORT_SYMBOL(genericbl_limit_intensity);
static const struct backlight_ops genericbl_ops = { static const struct backlight_ops genericbl_ops = {
.options = BL_CORE_SUSPENDRESUME, .options = BL_CORE_SUSPENDRESUME,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment