From: Laurent Pinchart Date: Sat, 9 Nov 2013 12:12:28 +0000 (+0100) Subject: regulator: gpio-regulator: Don't oops on missing regulator-type property X-Git-Tag: v3.13-rc2~30^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=251b9c21d26ca9d210e7673f0819ee1f6c19402a;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed