diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-05-18 16:59:26 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-05-21 09:17:51 -0700 |
commit | 01e94792e7436e89e55f043982e9446e0759bf25 (patch) | |
tree | 8e8dc705a825391449041b81ec061d767231fb91 /chip/lm4/clock.c | |
parent | b1bb8314bd852dea40bc7514486ce4e781e14f88 (diff) | |
download | chrome-ec-01e94792e7436e89e55f043982e9446e0759bf25.tar.gz |
Clean up debug commands to use less space
BUG=none
TEST=(run the commands)
Change-Id: I6ed4aee169311825190bcc386b86cdc32ba0866a
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/lm4/clock.c')
-rw-r--r-- | chip/lm4/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/clock.c b/chip/lm4/clock.c index aaa2e9403c..e709fa0b62 100644 --- a/chip/lm4/clock.c +++ b/chip/lm4/clock.c @@ -214,7 +214,7 @@ static int command_pll(int argc, char **argv) /* Disable PLL and set extra divider */ char *e; div = strtoi(argv[1], &e, 10); - if (e && *e) + if (*e) return EC_ERROR_INVAL; LM4_SYSTEM_RCC = LM4_SYSTEM_RCC_SYSDIV(div - 1) | |