Commit 79952fec authored by David Collins's avatar David Collins
Browse files

regulator: pm8xxx-regulator: Fix regulator type bound check



Fix an off-by-one error in the pm8xxx-regulator probe function
which allows regulators configured with an incorrect type to
probe successfully.

Change-Id: I013abbd7098735863e96ac5c8eb69329ea93d136
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 765eaaff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment