From: Jean Delvare Date: Fri, 8 May 2009 18:27:28 +0000 (+0200) Subject: hwmon: (w83781d) Fix W83782D support (NULL pointer dereference) X-Git-Tag: v2.6.30-rc5~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=848ddf116b3d1711c956fac8627be12dfe8d736f;p=pandora-kernel.git hwmon: (w83781d) Fix W83782D support (NULL pointer dereference) Commit 360782dde00a2e6e7d9fd57535f90934707ab8a8 (hwmon: (w83781d) Stop abusing struct i2c_client for ISA devices) broke W83782D support for devices connected on the ISA bus. You will hit a NULL pointer dereference as soon as you read any device attribute. Other devices, and W83782D devices on the SMBus, aren't affected. Reported-by: Michel Abraham Signed-off-by: Jean Delvare Tested-by: Michel Abraham --- Reading git-diff-tree failed