Skip to content
Unverified Commit a853c0a0 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: 7ee63bd7 ("regulator: lp87565: Add 4-phase lp87561 regulator support")
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20190711113517.26077-1-axel.lin@ingics.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 27988c96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment