Skip to content
Snippets Groups Projects
Commit 251b9c21 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mark Brown
Browse files

regulator: gpio-regulator: Don't oops on missing regulator-type property


Catch missing regulator-type property in DT and return an error
gracefully instead of deferencing a NULL pointer and crashing.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 5e01dc7b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment