regulator: da9063: fix assignment of da9063_reg_matches to NULL
authorColin Ian King <colin.king@canonical.com>
Tue, 11 Mar 2014 11:25:09 +0000 (11:25 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 11 Mar 2014 19:05:05 +0000 (19:05 +0000)
cppcheck detected an incorrect assignment:

 drivers/regulator/da9063-regulator.c:711]: (warning) Assignment
 of function parameter has no effect outside the function

the original code didn't do anything, instead, *da9063_reg_matches
needs to be set to NULL.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/da9063-regulator.c

Simple merge