Skip to content

Commit

Permalink
leds: aat1290: add 'static' modifier to init_mm_current_scale
Browse files Browse the repository at this point in the history
Function init_mm_current_scale is used only locally. Make it static then.

Signed-off-by: Jacek Anaszewski <[email protected]>
  • Loading branch information
janaszewski committed Sep 17, 2015
1 parent 98f9cc7 commit 305c324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/leds-aat1290.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 305c324

Please sign in to comment.