regulator: da9063: Add missing initialization of da9063_reg_matches
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 9 Sep 2013 11:49:27 +0000 (13:49 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:27:08 +0000 (00:27 +0100)
commit0fdfd40aca7046eb0b770d64dfe526a03ed5d092
treed6e1146e7be22f98abab5f0e1160e27158197282
parent272b98c6455f00884f0350f775c5342358ebb73f
regulator: da9063: Add missing initialization of da9063_reg_matches

With gcc 4.1.2:

drivers/regulator/da9063-regulator.c: In function ‘da9063_regulator_probe’:
drivers/regulator/da9063-regulator.c:847: warning: ‘da9063_reg_matches’ is used
uninitialized in this function

If the parent device already has platform data, da9063_reg_matches will
not be initialized.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/da9063-regulator.c