hwmon: (ibmpex.c) fix NULL dereference
authorAdrian Bunk <bunk@kernel.org>
Wed, 17 Oct 2007 19:29:02 +0000 (21:29 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 8 Nov 2007 13:42:46 +0000 (08:42 -0500)
commit9be484446cf15b8d935ef493c59a9b059c0cbb71
tree61ff1bf261b59e0c68a2995fbf0cf3f3327ac6bb
parent76e63860daedb302bddd707a765411c902d936bd
hwmon: (ibmpex.c) fix NULL dereference

Don't dereference "data" when we know for sure it's NULL.

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/ibmpex.c