diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2013-04-26 08:17:14 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-05-16 18:42:29 -0400 |
commit | 194bd7cf1d19aac8da116ed3137c3a3cf622572b (patch) | |
tree | 1fcba74a693038bd8d8d95536e290feef2869b9e /drivers/mfd | |
parent | 3993eff9da7cac9749ba2b5812873d3a903dfd8c (diff) |
mfd: abx500-core: Fix sparse warning
Fix sparse warning:
drivers/mfd/abx500-core.c:159:38: warning: Using plain integer as NULL pointer
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/abx500-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/abx500-core.c b/drivers/mfd/abx500-core.c index 9818afba2515..3714acb61458 100644 --- a/drivers/mfd/abx500-core.c +++ b/drivers/mfd/abx500-core.c | |||
@@ -156,7 +156,7 @@ EXPORT_SYMBOL(abx500_startup_irq_enabled); | |||
156 | void abx500_dump_all_banks(void) | 156 | void abx500_dump_all_banks(void) |
157 | { | 157 | { |
158 | struct abx500_ops *ops; | 158 | struct abx500_ops *ops; |
159 | struct device dummy_child = {0}; | 159 | struct device dummy_child = {NULL}; |
160 | struct abx500_device_entry *dev_entry; | 160 | struct abx500_device_entry *dev_entry; |
161 | 161 | ||
162 | list_for_each_entry(dev_entry, &abx500_list, list) { | 162 | list_for_each_entry(dev_entry, &abx500_list, list) { |