git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b5baa5
)
regulator: da9063: fix assignment of da9063_reg_matches to NULL
author
Colin Ian King
<colin.king@canonical.com>
Tue, 11 Mar 2014 11:25:09 +0000
(11:25 +0000)
committer
Mark 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
patch
|
blob
|
history
diff --cc
drivers/regulator/da9063-regulator.c
Simple merge