]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lis3) Fix Oops with NULL platform data
authorTakashi Iwai <tiwai@suse.de>
Thu, 23 Sep 2010 17:01:11 +0000 (10:01 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 24 Sep 2010 18:44:18 +0000 (11:44 -0700)
commit61cf81a7746ab9fc41026217534f7e2422eb29f8
treecd8fc229f2b26050b42771b64a4e27b7127726f3
parent80db513ab2c2f3aaec269a6c1014361ffd96fc15
hwmon: (lis3) Fix Oops with NULL platform data

The recent addition of threaded irq handler causes a NULL dereference
when used with hp_accel driver, which has NULL pdata.

Acked-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lis3lv02d.c