]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mfd: ab8500-debugfs: Use NULL to initialise remaining NULL pointer
authorLee Jones <lee.jones@linaro.org>
Mon, 14 Jan 2013 17:17:34 +0000 (17:17 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 08:31:38 +0000 (08:31 +0000)
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>
drivers/mfd/ab8500-debugfs.c

index 4699fff322a06262dacc85f3fcc33fc9264891c9..1bb74297a3a7a905e243a33c5b3e215ab629ddb8 100644 (file)
@@ -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,