projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f9cc7
)
leds: aat1290: add 'static' modifier to init_mm_current_scale
author
Jacek Anaszewski
<j.anaszewski@samsung.com>
Fri, 4 Sep 2015 10:27:09 +0000
(12:27 +0200)
committer
Jacek Anaszewski
<j.anaszewski@samsung.com>
Thu, 17 Sep 2015 08:02:08 +0000
(10:02 +0200)
Function init_mm_current_scale is used only locally. Make it static then.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/leds-aat1290.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-aat1290.c
b/drivers/leds/leds-aat1290.c
index 8ceb47127a4846cde06199f710b3d897fcca1c16..ac77d36b630cda0b32dbcd312e97d461192b8ecc 100644
(file)
--- a/
drivers/leds/leds-aat1290.c
+++ b/
drivers/leds/leds-aat1290.c
@@
-331,7
+331,7
@@
static void aat1290_led_validate_mm_current(struct aat1290_led *led,
cfg->max_brightness = b + 1;
}
-int init_mm_current_scale(struct aat1290_led *led,
+
static
int init_mm_current_scale(struct aat1290_led *led,
struct aat1290_led_config_data *cfg)
{
int max_mm_current_percent[] = { 20, 22, 25, 28, 32, 36, 40, 45, 50, 56,