mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
regulator: da9063: fix assignment of da9063_reg_matches to NULL
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>
This commit is contained in:
parent
8b5baa56f2
commit
f377ed107b
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue