OSDN Git Service

hwmon: (pmbus/ibm-cffps) Add version detection capability
authorEddie James <eajames@linux.ibm.com>
Wed, 9 Oct 2019 19:11:02 +0000 (14:11 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Nov 2019 22:37:19 +0000 (14:37 -0800)
commitda806a1777e94e04c6c291dc500474cdde8f12e7
tree69ca0b6e0e9a7a47bac9a34c3bdc1d7619d08036
parentc6d294d1aa5b962afcea0a6e35e909b46ac47494
hwmon: (pmbus/ibm-cffps) Add version detection capability

Some systems may plug in either version 1 or version 2 of the IBM common
form factor power supply. Add a version-less compatibility string that
tells the driver to try and detect which version of the power supply is
connected.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/1570648262-25383-3-git-send-email-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ibm-cffps.c