diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-31 20:11:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:54 -0400 |
commit | 1bff3a2093161d1b982a0958e4eb194bf3c8ce47 (patch) | |
tree | c1c60f30826cf72c72c2c76d0e456c8e5cdae586 /drivers/video | |
parent | 4f5a66b05971d6be08fd596139cd190758831686 (diff) |
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: Axel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/generic_bl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/generic_bl.c b/drivers/video/backlight/generic_bl.c index 8c6befd65a33..adb191466d64 100644 --- a/drivers/video/backlight/generic_bl.c +++ b/drivers/video/backlight/generic_bl.c | |||
@@ -56,7 +56,7 @@ static int genericbl_get_intensity(struct backlight_device *bd) | |||
56 | * Called when the battery is low to limit the backlight intensity. | 56 | * Called when the battery is low to limit the backlight intensity. |
57 | * If limit==0 clear any limit, otherwise limit the intensity | 57 | * If limit==0 clear any limit, otherwise limit the intensity |
58 | */ | 58 | */ |
59 | void corgibl_limit_intensity(int limit) | 59 | void genericbl_limit_intensity(int limit) |
60 | { | 60 | { |
61 | struct backlight_device *bd = generic_backlight_device; | 61 | struct backlight_device *bd = generic_backlight_device; |
62 | 62 | ||
@@ -68,7 +68,7 @@ void corgibl_limit_intensity(int limit) | |||
68 | backlight_update_status(generic_backlight_device); | 68 | backlight_update_status(generic_backlight_device); |
69 | mutex_unlock(&bd->ops_lock); | 69 | mutex_unlock(&bd->ops_lock); |
70 | } | 70 | } |
71 | EXPORT_SYMBOL(corgibl_limit_intensity); | 71 | EXPORT_SYMBOL(genericbl_limit_intensity); |
72 | 72 | ||
73 | static const struct backlight_ops genericbl_ops = { | 73 | static const struct backlight_ops genericbl_ops = { |
74 | .options = BL_CORE_SUSPENDRESUME, | 74 | .options = BL_CORE_SUSPENDRESUME, |