]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (pmbus/adm1275) Validate device ID
authorGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 30 Sep 2011 18:53:25 +0000 (11:53 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 28 Nov 2011 21:50:42 +0000 (13:50 -0800)
commitfc33ea849bd6ccb07389db771906ce105e0caa92
tree926680d6d3e1fc6030fceaf4c5468d65d74b5291
parent25a236a5dba47a16affb105525cfd75eaa03ceea
hwmon: (pmbus/adm1275) Validate device ID

Since manufacturer and device ID are known, read and validate it.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
drivers/hwmon/pmbus/adm1275.c