summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-04-26 14:17:14 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-05-17 00:42:29 +0200
commit194bd7cf1d19aac8da116ed3137c3a3cf622572b (patch)
tree1fcba74a693038bd8d8d95536e290feef2869b9e /drivers/mfd
parent3993eff9da7cac9749ba2b5812873d3a903dfd8c (diff)
downloadop-kernel-dev-194bd7cf1d19aac8da116ed3137c3a3cf622572b.zip
op-kernel-dev-194bd7cf1d19aac8da116ed3137c3a3cf622572b.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/abx500-core.c b/drivers/mfd/abx500-core.c
index 9818afb..3714acb 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) {
OpenPOWER on IntegriCloud