From: Fabio Baltieri Date: Fri, 26 Apr 2013 12:17:14 +0000 (+0200) Subject: mfd: abx500-core: Fix sparse warning X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=194bd7cf1d19aac8da116ed3137c3a3cf622572b;p=deliverable%2Flinux.git 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 Signed-off-by: Fabio Baltieri Signed-off-by: Lee Jones Signed-off-by: Samuel Ortiz --- 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); void abx500_dump_all_banks(void) { struct abx500_ops *ops; - struct device dummy_child = {0}; + struct device dummy_child = {NULL}; struct abx500_device_entry *dev_entry; list_for_each_entry(dev_entry, &abx500_list, list) {