diff options
Diffstat (limited to 'driver/battery')
-rw-r--r-- | driver/battery/bq27541.c | 3 | ||||
-rw-r--r-- | driver/battery/bq27621_g1.c | 21 | ||||
-rw-r--r-- | driver/battery/smart.c | 3 |
3 files changed, 9 insertions, 18 deletions
diff --git a/driver/battery/bq27541.c b/driver/battery/bq27541.c index ae9f024cc2..760a367b9c 100644 --- a/driver/battery/bq27541.c +++ b/driver/battery/bq27541.c @@ -353,6 +353,5 @@ static int command_battfake(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(battfake, command_battfake, "percent (-1 = use real level)", - "Set fake battery level", - NULL); + "Set fake battery level"); diff --git a/driver/battery/bq27621_g1.c b/driver/battery/bq27621_g1.c index e08e700522..c55d452c87 100644 --- a/driver/battery/bq27621_g1.c +++ b/driver/battery/bq27621_g1.c @@ -576,8 +576,7 @@ static int command_fgunseal(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fgunseal, command_fgunseal, "", - "Unseal the fg", - NULL); + "Unseal the fg"); static int command_fgseal(int argc, char **argv) { @@ -593,8 +592,7 @@ static int command_fgseal(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fgseal, command_fgseal, "", - "Seal the fg", - NULL); + "Seal the fg"); static int command_fginit(int argc, char **argv) { @@ -629,8 +627,7 @@ static int command_fginit(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fginit, command_fginit, "[force]", - "Initialize the fg", - NULL); + "Initialize the fg"); static int command_fgprobe(int argc, char **argv) { @@ -646,8 +643,7 @@ static int command_fgprobe(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fgprobe, command_fgprobe, "", - "Probe the fg", - NULL); + "Probe the fg"); static int command_fgrd(int argc, char **argv) { @@ -681,8 +677,7 @@ static int command_fgrd(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fgrd, command_fgrd, "cmd len", - "Read _len_ words from the fg", - NULL); + "Read _len_ words from the fg"); static int command_fgcmd(int argc, char **argv) { @@ -718,8 +713,7 @@ static int command_fgcmd(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fgcmd, command_fgcmd, "cmd data [byte]", - "Send a cmd to the fg", - NULL); + "Send a cmd to the fg"); static int command_fgcmdrd(int argc, char **argv) { @@ -747,8 +741,7 @@ static int command_fgcmdrd(int argc, char **argv) DECLARE_CONSOLE_COMMAND(fgcmdrd, command_fgcmdrd, "cmd data", - "Send a 2-byte cmd to the fg, read back the 2-byte result", - NULL); + "Send a 2-byte cmd to the fg, read back the 2-byte result"); #endif /* CONFIG_CMD_BATDEBUG */ diff --git a/driver/battery/smart.c b/driver/battery/smart.c index 6f884a55b3..ff2da13863 100644 --- a/driver/battery/smart.c +++ b/driver/battery/smart.c @@ -396,8 +396,7 @@ static int command_battfake(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(battfake, command_battfake, "percent (-1 = use real level)", - "Set fake battery level", - NULL); + "Set fake battery level"); #endif /*****************************************************************************/ |