diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-27 00:41:42 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-03-31 07:31:06 -0400 |
commit | 5f5e19093b2fa592720810154f15ffe51aa9277f (patch) | |
tree | 7fb419b6839947540fb76f78243864a1c9838e41 /drivers/watchdog/ibmasr.c | |
parent | c33a15974c1a326b0034cc2a2e73fac92ae8d001 (diff) |
watchdog: fix checkpatch warnings and error
Fix the following checkpatch warnings and error:
WARNING: quoted string split across lines
WARNING: braces {} are not necessary for single statement blocks
WARNING: __initdata should be placed after ibmasr_id_table[]
WARNING: please, no space before tabs
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/ibmasr.c')
-rw-r--r-- | drivers/watchdog/ibmasr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/ibmasr.c b/drivers/watchdog/ibmasr.c index db0a34460e57..366b0474f278 100644 --- a/drivers/watchdog/ibmasr.c +++ b/drivers/watchdog/ibmasr.c | |||
@@ -360,7 +360,7 @@ struct ibmasr_id { | |||
360 | int type; | 360 | int type; |
361 | }; | 361 | }; |
362 | 362 | ||
363 | static struct ibmasr_id __initdata ibmasr_id_table[] = { | 363 | static struct ibmasr_id ibmasr_id_table[] __initdata = { |
364 | { "IBM Automatic Server Restart - eserver xSeries 220", ASMTYPE_TOPAZ }, | 364 | { "IBM Automatic Server Restart - eserver xSeries 220", ASMTYPE_TOPAZ }, |
365 | { "IBM Automatic Server Restart - Machine Type 8673", ASMTYPE_PEARL }, | 365 | { "IBM Automatic Server Restart - Machine Type 8673", ASMTYPE_PEARL }, |
366 | { "IBM Automatic Server Restart - Machine Type 8480", ASMTYPE_JASPER }, | 366 | { "IBM Automatic Server Restart - Machine Type 8480", ASMTYPE_JASPER }, |