summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-debugfs.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-14 18:17:34 +0100
committerLee Jones <lee.jones@linaro.org>2013-02-04 09:31:38 +0100
commitfad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee (patch)
tree9118f89d9aecf976cb9505063138011028e03ae5 /drivers/mfd/ab8500-debugfs.c
parentmfd: ab8500-debugfs: Keep count of IRQs in debugfs (diff)
downloadlinux-fad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee.tar.xz
linux-fad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee.zip
mfd: ab8500-debugfs: Use NULL to initialise remaining NULL pointer
Partly for coding style reasons, but mostly because sparse warns on it. This patch is a completion of a previous patch by Mark Brown. Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r--drivers/mfd/ab8500-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index 4699fff322a0..1bb74297a3a7 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -60,7 +60,7 @@ struct ab8500_prcmu_ranges {
static struct ab8500_prcmu_ranges debug_ranges[AB8500_NUM_BANKS] = {
[0x0] = {
.num_ranges = 0,
- .range = 0,
+ .range = NULL,
},
[AB8500_SYS_CTRL1_BLOCK] = {
.num_ranges = 3,