]> asedeno.scripts.mit.edu Git - linux.git/commit
leds: lm3532: Move static keyword to the front of declarations
authorKrzysztof Wilczynski <kw@linux.com>
Fri, 30 Aug 2019 18:11:03 +0000 (20:11 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Tue, 3 Sep 2019 18:34:39 +0000 (20:34 +0200)
commit536129cc9a26a47ebda5123c992a875d7f81a746
tree20040534e751f1475bdc235c932edaefca7c4f03
parent4e4210402639f16dfbfa5ba277aeb88fff401cec
leds: lm3532: Move static keyword to the front of declarations

Move the static keyword to the front of declarations ramp_table,
als_avrg_table and als_imp_table, and resolve the following
compiler warnings that can be seen when building with warnings
enabled (W=1):

drivers/leds/leds-lm3532.c:209:1: warning:
‘static’ is not at beginning of declaration [-Wold-style-declaration]

drivers/leds/leds-lm3532.c:266:1: warning:
‘static’ is not at beginning of declaration [-Wold-style-declaration]

drivers/leds/leds-lm3532.c:281:1: warning:
‘static’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-lm3532.c