From: Axel Lin Date: Sat, 26 Nov 2011 12:19:19 +0000 (+0800) Subject: regulator: Checking return value of of_get_regulator_init_data X-Git-Tag: v3.3-rc1~126^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b864af1a370103148e34044670cd9913de5c1be;p=pandora-kernel.git regulator: Checking return value of of_get_regulator_init_data of_get_regulator_init_data() may return NULL, thus check the return value to avoid NULL pointer dereference. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed