summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/pmbus.c
diff options
context:
space:
mode:
authorZhu, Richard \(NSN - CN/Beijing\)2014-07-01 09:14:23 +0200
committerGuenter Roeck2014-08-04 16:01:38 +0200
commita8bfeceb0c1400b9331c00f6969afa6cb82d5d4a (patch)
treeb0774f9e62c7af6ae14f9da24e334208e8ab2d1e /drivers/hwmon/pmbus/pmbus.c
parenthwmon: (tmp421) Drop FSF mailing address (diff)
downloadkernel-qcow2-linux-a8bfeceb0c1400b9331c00f6969afa6cb82d5d4a.tar.gz
kernel-qcow2-linux-a8bfeceb0c1400b9331c00f6969afa6cb82d5d4a.tar.xz
kernel-qcow2-linux-a8bfeceb0c1400b9331c00f6969afa6cb82d5d4a.zip
hwmon: (pmbus) Add tps40422 front-end driver
For TI power management chip TPS40422, READ_TEMPERATURE_2 command is supported on page 1 of the chip, but the original driver(pmbus.c) only tried to detect this command on page 0, this will lead to a result that the temperature sensor in page 1 couldn't be detected. This change is to isolate the tps40422 driver from pmbus.c into a solo front-end driver. Signed-off-by: Zhu Laiwen <richard.zhu@nsn.com> [Guenter Roeck: Dropped unnecessary license text (fixes checkpatch warning)] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/pmbus.c')
-rw-r--r--drivers/hwmon/pmbus/pmbus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
index 7e91700131a7..554d0249dcde 100644
--- a/drivers/hwmon/pmbus/pmbus.c
+++ b/drivers/hwmon/pmbus/pmbus.c
@@ -193,7 +193,6 @@ static const struct i2c_device_id pmbus_id[] = {
{"pdt012", 1},
{"pmbus", 0},
{"tps40400", 1},
- {"tps40422", 2},
{"udt020", 1},
{}
};