diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-07-11 14:35:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-24 19:03:34 +0300 |
commit | a853c0a0b013af3fee0f028cff3c44e275ce9abd (patch) | |
tree | 329e1760c96a88bbc204ac72c93ada3a922ca04f /drivers/regulator/max77686-regulator.c | |
parent | 27988c96687667e74df1a9a3b8662519bc1c29c9 (diff) | |
download | linux-a853c0a0b013af3fee0f028cff3c44e275ce9abd.tar.xz |
regulator: lp87565: Fix probe failure for "ti,lp87565"
The "ti,lp87565" compatible string is still in of_lp87565_match_table,
but current code will return -EINVAL because lp87565->dev_type is unknown.
This was working in earlier kernel versions, so fix it.
Fixes: 7ee63bd74750 ("regulator: lp87565: Add 4-phase lp87561 regulator support")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20190711113517.26077-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max77686-regulator.c')
0 files changed, 0 insertions, 0 deletions