summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-14 17:17:34 +0000
committerLee Jones <lee.jones@linaro.org>2013-02-04 08:31:38 +0000
commitfad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee (patch)
tree9118f89d9aecf976cb9505063138011028e03ae5 /drivers/mfd
parent0b337e70d30a8092a3e6c35ccb341c3655d9d543 (diff)
downloadop-kernel-dev-fad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee.zip
op-kernel-dev-fad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee.tar.gz
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')
-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 4699fff3..1bb7429 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,
OpenPOWER on IntegriCloud