commit | 836954dadcb351d65cf96584f22c9e437169bd49 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Jun 08 10:14:00 2015 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Aug 12 12:29:12 2015 -0700 |
tree | 71606fb800a1208b19dbadc0c00bff8a224a8212 | |
parent | 33836ee98533fd27baa89dabca48f8d4e69dd438 [diff] |
hwmon: (ltc2978) Move code to read chip ID into separate function Verifying the chip type is getting more complicated with new chips, since not all chips support the same mechanism to read the chip type. Move the code into a separate function to simplify adding support for those chips. Signed-off-by: Guenter Roeck <linux@roeck-us.net>