diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-13 09:06:47 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-14 06:37:50 -0500 |
commit | 87fff232cb76828b44312843d96854704f71ed19 (patch) | |
tree | 52afd39f90d2e604e5d9bca8922fb2b4725df3b8 /drivers/mfd/ab8500-debugfs.c | |
parent | fe421425d78176f4a3509ce11b8d683cf1604e3a (diff) |
mfd: Use NULL to initialise NULL pointers in ab8500-debugfs
Partly for coding style reasons, but mostly because sparse warns on it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r-- | drivers/mfd/ab8500-debugfs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index dfdc76e0b96e..3c1541ae7223 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c | |||
@@ -189,7 +189,7 @@ static struct ab8500_i2c_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
189 | }, | 189 | }, |
190 | [AB8500_DBI] = { | 190 | [AB8500_DBI] = { |
191 | .num_ranges = 0, | 191 | .num_ranges = 0, |
192 | .range = 0, | 192 | .range = NULL, |
193 | }, | 193 | }, |
194 | [AB8500_ECI_AV_ACC] = { | 194 | [AB8500_ECI_AV_ACC] = { |
195 | .num_ranges = 1, | 195 | .num_ranges = 1, |
@@ -202,7 +202,7 @@ static struct ab8500_i2c_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
202 | }, | 202 | }, |
203 | [0x9] = { | 203 | [0x9] = { |
204 | .num_ranges = 0, | 204 | .num_ranges = 0, |
205 | .range = 0, | 205 | .range = NULL, |
206 | }, | 206 | }, |
207 | [AB8500_GPADC] = { | 207 | [AB8500_GPADC] = { |
208 | .num_ranges = 1, | 208 | .num_ranges = 1, |
@@ -278,7 +278,7 @@ static struct ab8500_i2c_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
278 | }, | 278 | }, |
279 | [AB8500_INTERRUPT] = { | 279 | [AB8500_INTERRUPT] = { |
280 | .num_ranges = 0, | 280 | .num_ranges = 0, |
281 | .range = 0, | 281 | .range = NULL, |
282 | }, | 282 | }, |
283 | [AB8500_RTC] = { | 283 | [AB8500_RTC] = { |
284 | .num_ranges = 1, | 284 | .num_ranges = 1, |
@@ -328,19 +328,19 @@ static struct ab8500_i2c_ranges debug_ranges[AB8500_NUM_BANKS] = { | |||
328 | }, | 328 | }, |
329 | [0x11] = { | 329 | [0x11] = { |
330 | .num_ranges = 0, | 330 | .num_ranges = 0, |
331 | .range = 0, | 331 | .range = NULL, |
332 | }, | 332 | }, |
333 | [0x12] = { | 333 | [0x12] = { |
334 | .num_ranges = 0, | 334 | .num_ranges = 0, |
335 | .range = 0, | 335 | .range = NULL, |
336 | }, | 336 | }, |
337 | [0x13] = { | 337 | [0x13] = { |
338 | .num_ranges = 0, | 338 | .num_ranges = 0, |
339 | .range = 0, | 339 | .range = NULL, |
340 | }, | 340 | }, |
341 | [0x14] = { | 341 | [0x14] = { |
342 | .num_ranges = 0, | 342 | .num_ranges = 0, |
343 | .range = 0, | 343 | .range = NULL, |
344 | }, | 344 | }, |
345 | [AB8500_OTP_EMUL] = { | 345 | [AB8500_OTP_EMUL] = { |
346 | .num_ranges = 1, | 346 | .num_ranges = 1, |