diff options
Diffstat (limited to 'chip/npcx')
-rw-r--r-- | chip/npcx/clock.c | 6 | ||||
-rw-r--r-- | chip/npcx/espi.c | 5 | ||||
-rw-r--r-- | chip/npcx/flash.c | 6 | ||||
-rw-r--r-- | chip/npcx/peci.c | 3 | ||||
-rw-r--r-- | chip/npcx/spi.c | 3 | ||||
-rw-r--r-- | chip/npcx/system.c | 6 |
6 files changed, 10 insertions, 19 deletions
diff --git a/chip/npcx/clock.c b/chip/npcx/clock.c index 05d49ae751..725473cccb 100644 --- a/chip/npcx/clock.c +++ b/chip/npcx/clock.c @@ -380,8 +380,7 @@ static int command_idle_stats(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(idlestats, command_idle_stats, "", - "Print last idle stats", - NULL); + "Print last idle stats"); /** * Configure deep sleep clock settings. @@ -428,6 +427,5 @@ DECLARE_CONSOLE_COMMAND(dsleep, command_dsleep, "allow deep sleep to auto-select using the low speed " "clock.\n" "Give a timeout value for the console in use timeout.\n" - "See also 'sleepmask'.", - NULL); + "See also 'sleepmask'."); #endif /* CONFIG_LOW_POWER_IDLE */ diff --git a/chip/npcx/espi.c b/chip/npcx/espi.c index f998c7bb16..688030f948 100644 --- a/chip/npcx/espi.c +++ b/chip/npcx/espi.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2016 The Chromium OS Authors. All rights reserved. +/* Copyright 2016 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -651,6 +651,5 @@ static int command_espi(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(espi, command_espi, "cfg/vms/vsm/en/dis [channel]", - "eSPI configurations", - NULL); + "eSPI configurations"); diff --git a/chip/npcx/flash.c b/chip/npcx/flash.c index e889163088..95b4796bb3 100644 --- a/chip/npcx/flash.c +++ b/chip/npcx/flash.c @@ -794,8 +794,7 @@ static int command_flash_spi_sel_lock(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(flash_spi_lock, command_flash_spi_sel_lock, "[0 | 1]", - "Lock spi flash interface selection", - NULL); + "Lock spi flash interface selection"); static int command_flash_tristate(int argc, char **argv) { @@ -812,6 +811,5 @@ static int command_flash_tristate(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(flash_tristate, command_flash_tristate, "[0 | 1]", - "Tristate spi flash pins", - NULL); + "Tristate spi flash pins"); diff --git a/chip/npcx/peci.c b/chip/npcx/peci.c index 4cb926ef18..48920cdea2 100644 --- a/chip/npcx/peci.c +++ b/chip/npcx/peci.c @@ -295,5 +295,4 @@ static int command_peci_temp(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(pecitemp, command_peci_temp, NULL, - "Print CPU temperature", - NULL); + "Print CPU temperature"); diff --git a/chip/npcx/spi.c b/chip/npcx/spi.c index 04a05e6942..790f4c1e47 100644 --- a/chip/npcx/spi.c +++ b/chip/npcx/spi.c @@ -260,6 +260,5 @@ static int command_spirom(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(spirom, command_spirom, NULL, - "Test reading SPI EEPROM", - NULL); + "Test reading SPI EEPROM"); #endif diff --git a/chip/npcx/system.c b/chip/npcx/system.c index ec0847cb34..f25bf35fca 100644 --- a/chip/npcx/system.c +++ b/chip/npcx/system.c @@ -757,8 +757,7 @@ static int command_system_rtc(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(rtc, command_system_rtc, "[set <seconds>]", - "Get/set real-time clock", - NULL); + "Get/set real-time clock"); #ifdef CONFIG_CMD_RTC_ALARM /** @@ -791,8 +790,7 @@ static int command_rtc_alarm_test(int argc, char **argv) } DECLARE_CONSOLE_COMMAND(rtc_alarm, command_rtc_alarm_test, "[seconds [microseconds]]", - "Test alarm", - NULL); + "Test alarm"); #endif /* CONFIG_CMD_RTC_ALARM */ #endif /* CONFIG_CMD_RTC */ |