From: Kuninori Morimoto Date: Fri, 17 Sep 2010 15:24:10 +0000 (+0200) Subject: hwmon: (lis3lv02d) Prevent NULL pointer dereference X-Git-Tag: v2.6.36-rc5~16^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5facb097137e7509a1b73448fe20226a4fbfe8cb;p=pandora-kernel.git hwmon: (lis3lv02d) Prevent NULL pointer dereference If CONFIG_PM was selected and lis3lv02d_platform_data was NULL, the kernel will be panic when halt command run. Reported-by: Yusuke Goda Signed-off-by: Kuninori Morimoto Acked-by: Samu Onkalo Sigend-off-by: Jean Delvare --- Reading git-diff-tree failed