summaryrefslogtreecommitdiff
path: root/drivers/mfd/ab8500-debugfs.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-14 21:17:34 +0400
committerLee Jones <lee.jones@linaro.org>2013-02-04 12:31:38 +0400
commitfad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee (patch)
tree9118f89d9aecf976cb9505063138011028e03ae5 /drivers/mfd/ab8500-debugfs.c
parent0b337e70d30a8092a3e6c35ccb341c3655d9d543 (diff)
downloadlinux-fad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee.tar.xz
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,