Skip to content

Commit

Permalink
mfd: ab8500-debugfs: Use NULL to initialise remaining NULL pointer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lee Jones committed Feb 4, 2013
1 parent 0b337e7 commit fad55a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fad55a8

Please sign in to comment.