mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
staging: nvec: minor coding style fix
Fix for the below coding style warning. Warning: Move const after static - use 'static const int' Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com> Link: https://lore.kernel.org/r/20210212073423.20562-1-yildirim.fatih@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f34df6764c
commit
dc31fc6ce6
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static int counter;
|
static int counter;
|
||||||
static int const bat_iter[] = {
|
static const int bat_iter[] = {
|
||||||
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
|
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
|
||||||
#ifdef EC_FULL_DIAG
|
#ifdef EC_FULL_DIAG
|
||||||
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
|
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
|
||||||
|
|
Loading…
Reference in a new issue