mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +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
@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
|
||||
};
|
||||
|
||||
static int counter;
|
||||
static int const bat_iter[] = {
|
||||
static const int bat_iter[] = {
|
||||
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
|
||||
#ifdef EC_FULL_DIAG
|
||||
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
|
||||
|
Loading…
x
Reference in New Issue
Block a user