commit | 251b9c21d26ca9d210e7673f0819ee1f6c19402a | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Sat Nov 09 13:12:28 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Sat Nov 09 15:06:22 2013 +0000 |
tree | 94fc2dea8cb5df0789fcaa9bb4b65f466a3dd8c1 | |
parent | 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 [diff] |
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: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mark Brown <broonie@linaro.org>