From: Zhu, Richard \(NSN - CN/Beijing\) Date: Tue, 1 Jul 2014 07:14:23 +0000 (+0000) Subject: hwmon: (pmbus) Add tps40422 front-end driver X-Git-Tag: omap-for-v3.17/fixes-against-rc2~159^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8bfeceb0c1400b9331c00f6969afa6cb82d5d4a;p=pandora-kernel.git 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 [Guenter Roeck: Dropped unnecessary license text (fixes checkpatch warning)] Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed