Commit dc31fc6c authored by Fatih Yildirim's avatar Fatih Yildirim Committed by Greg Kroah-Hartman
Browse files

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: default avatarFatih Yildirim <yildirim.fatih@gmail.com>
Link: https://lore.kernel.org/r/20210212073423.20562-1-yildirim.fatih@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f34df676
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,