diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-01-13 15:59:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-13 15:02:48 +0000 |
commit | 7eec67869893bc34bd3a3126e5124a4ef017e0cd (patch) | |
tree | f39cdefe8c1935e40f383d384f7c54589e7490ed /drivers/regulator/sy8824x.c | |
parent | 686f63616f4aede1356c1bc9fa4e9a92a123bcd6 (diff) |
regulator: mpq7920: Check the correct variable in mpq7920_regulator_register()
There is a typo in the error checking. We should be checking
"->rdev[i]" instead of just "->rdev".
Fixes: 6501c1f54a17 ("regulator: mpq7920: add mpq7920 regulator driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200113125805.xri6jqoxy2ldzqyg@kili.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/sy8824x.c')
0 files changed, 0 insertions, 0 deletions