commit | 4b864af1a370103148e34044670cd9913de5c1be | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Sat Nov 26 20:19:19 2011 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Nov 27 11:29:21 2011 +0000 |
tree | ed51d565ff600bb6f56385f21a974b0d1b6abac4 | |
parent | e69af5e9677b1e5bf2a2432747ecd714aa537f2a [diff] |
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 <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>