summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-16 17:02:59 +0300
committerGuenter Roeck <linux@roeck-us.net>2015-10-14 17:57:14 +0300
commit791432cfd95bea3515f8cdfaf72ec263e5d3da80 (patch)
tree6ee42f86b2870a6956f7285aabcfd299f0597634 /drivers/phy
parent195a4b4298a7951c845dac2b326585c66add3435 (diff)
downloadlinux-791432cfd95bea3515f8cdfaf72ec263e5d3da80.tar.xz
hwmon: (max31790) Fix dereference of ERR_PTR
max31790_update_device() return the error code in ERR_PTR. We were checking if it has returned error or not but before checking we have dereferenced it. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions