Skip to content

Commit dc31fc6

Browse files
f-yildirimgregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f34df67 commit dc31fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/nvec/nvec_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
338338
};
339339

340340
static int counter;
341-
static int const bat_iter[] = {
341+
static const int bat_iter[] = {
342342
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
343343
#ifdef EC_FULL_DIAG
344344
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,

0 commit comments

Comments
 (0)