Commit 87fff232cb76828b44312843d96854704f71ed19

Authored by Mark Brown
Committed by Samuel Ortiz
1 parent fe421425d7

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>

Showing 1 changed file with 7 additions and 7 deletions Side-by-side Diff

drivers/mfd/ab8500-debugfs.c
... ... @@ -189,7 +189,7 @@
189 189 },
190 190 [AB8500_DBI] = {
191 191 .num_ranges = 0,
192   - .range = 0,
  192 + .range = NULL,
193 193 },
194 194 [AB8500_ECI_AV_ACC] = {
195 195 .num_ranges = 1,
... ... @@ -202,7 +202,7 @@
202 202 },
203 203 [0x9] = {
204 204 .num_ranges = 0,
205   - .range = 0,
  205 + .range = NULL,
206 206 },
207 207 [AB8500_GPADC] = {
208 208 .num_ranges = 1,
... ... @@ -278,7 +278,7 @@
278 278 },
279 279 [AB8500_INTERRUPT] = {
280 280 .num_ranges = 0,
281   - .range = 0,
  281 + .range = NULL,
282 282 },
283 283 [AB8500_RTC] = {
284 284 .num_ranges = 1,
285 285  
286 286  
287 287  
... ... @@ -328,19 +328,19 @@
328 328 },
329 329 [0x11] = {
330 330 .num_ranges = 0,
331   - .range = 0,
  331 + .range = NULL,
332 332 },
333 333 [0x12] = {
334 334 .num_ranges = 0,
335   - .range = 0,
  335 + .range = NULL,
336 336 },
337 337 [0x13] = {
338 338 .num_ranges = 0,
339   - .range = 0,
  339 + .range = NULL,
340 340 },
341 341 [0x14] = {
342 342 .num_ranges = 0,
343   - .range = 0,
  343 + .range = NULL,
344 344 },
345 345 [AB8500_OTP_EMUL] = {
346 346 .num_ranges = 1,