Skip to content
Commit 5facb097 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Jean Delvare
Browse files

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: default avatarYusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarSamu Onkalo <samu.p.onkalo@nokia.com>
Sigend-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 03a7ab08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment