summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/pmbus.c
diff options
context:
space:
mode:
authorZhu, Richard \(NSN - CN/Beijing\) <richard.zhu@nsn.com>2014-07-01 11:14:23 +0400
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 18:01:38 +0400
commita8bfeceb0c1400b9331c00f6969afa6cb82d5d4a (patch)
treeb0774f9e62c7af6ae14f9da24e334208e8ab2d1e /drivers/hwmon/pmbus/pmbus.c
parent012cb5e257dcce524ee6207e50ca494d8a2b6013 (diff)
downloadlinux-a8bfeceb0c1400b9331c00f6969afa6cb82d5d4a.tar.xz
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},
{}
};