diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-11-09 13:12:28 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-09 15:06:22 +0000 |
commit | 251b9c21d26ca9d210e7673f0819ee1f6c19402a (patch) | |
tree | 94fc2dea8cb5df0789fcaa9bb4b65f466a3dd8c1 /drivers/ntb/ntb_transport.c | |
parent | 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff) | |
download | blackbird-op-linux-251b9c21d26ca9d210e7673f0819ee1f6c19402a.tar.gz blackbird-op-linux-251b9c21d26ca9d210e7673f0819ee1f6c19402a.zip |
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>
Diffstat (limited to 'drivers/ntb/ntb_transport.c')
0 files changed, 0 insertions, 0 deletions