From: Lee Jones Date: Mon, 14 Jan 2013 17:17:34 +0000 (+0000) Subject: mfd: ab8500-debugfs: Use NULL to initialise remaining NULL pointer X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=fad55a869ba1bf0d1ab7e4c8bff0b171eb5486ee;p=deliverable%2Flinux.git 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 Signed-off-by: Lee Jones --- 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,