commit | 5facb097137e7509a1b73448fe20226a4fbfe8cb | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Fri Sep 17 17:24:10 2010 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Fri Sep 17 17:24:10 2010 +0200 |
tree | 65d6420d70466f8e4828946b5b682f0c6f272729 | |
parent | 03a7ab083e4d619136d6f07ce70fa9de0bc436fc [diff] |
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 <yusuke.goda.sx@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Samu Onkalo <samu.p.onkalo@nokia.com> Sigend-off-by: Jean Delvare <khali@linux-fr.org>