linux/drivers/hwmon/pmbus
Xiaoting Liu 6f4a46f0eb hwmon: (pmbus) associate PMBUS_SKIP_STATUS_CHECK with driver data
Current code compares device name with name in i2c_device_id to decide
whether PMBUS_SKIP_STATUS_CHECK should be set in pmbus_platform_data,
which makes adding new devices with PMBUS_SKIP_STATUS_CHECK should also
modify code in pmbus_probe().

This patch adds pmbus_device_info to save pages and flags. Its pointer
is put in driver_data of i2c_device_id, which makes adding new device
more straightforward.

Signed-off-by: Shunyong Yang <shunyong.yang@hxt-semitech.com>
Signed-off-by: Xiaoting Liu <xiaoting.liu@hxt-semitech.com>
[groeck: Use designated structure initializers to improve readability]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2019-02-18 14:23:29 -08:00
..
adm1275.c hwmon: (adm1275) Allow setting shunt reg value 2018-12-02 16:25:28 -08:00
ibm-cffps.c hwmon: (pmbus/cffps) Add led class device for power supply fault led 2018-01-11 10:28:35 -08:00
ir35221.c hwmon: (pmbus/ir35221) Remove unnecessary scaling 2018-01-15 04:22:46 -08:00
Kconfig hwmon: (pmbus) remove redundant 'default n' from Kconfig 2018-10-11 20:08:16 -07:00
lm25066.c hwmon: (pmbus/lm25066) Drop support for LM25063 2018-01-02 15:05:34 -08:00
ltc2978.c hwmon: (ltc2978) Fix spelling mistake "comppatible" -> "compatible" 2018-12-16 15:13:18 -08:00
ltc3815.c hwmon: (pmbus) Add client driver for LTC3815 2015-12-18 08:20:59 -08:00
Makefile hwmon updates for v4.15 2017-11-13 08:55:46 -08:00
max8688.c hwmon: (pmbus/max8688) Accept negative page register values 2018-03-10 18:59:47 -08:00
max16064.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
max20751.c hwmon: (pmbus) Add support for MAX20751 2015-08-09 13:44:27 -07:00
max31785.c hwmon: (max31785) Add OF device ID table 2018-01-02 15:05:34 -08:00
max34440.c hwmon: (pmbus/max34440) Add support for MAX34451. 2018-07-08 20:08:13 -07:00
pmbus_core.c hwmon: (pmbus) Fix page count auto-detection. 2018-10-15 12:44:36 -07:00
pmbus.c hwmon: (pmbus) associate PMBUS_SKIP_STATUS_CHECK with driver data 2019-02-18 14:23:29 -08:00
pmbus.h hwmon: (pmbus) Export pmbus device debugfs directory entry 2018-01-02 15:05:34 -08:00
tps40422.c hwmon: (pmbus) Add tps40422 front-end driver 2014-08-04 07:01:38 -07:00
tps53679.c hwmon: (pmbus/tps53679) Fix driver info initialization in probe routine 2019-02-18 14:22:52 -08:00
ucd9000.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
ucd9200.c hwmon: (pmbus) move header file out of I2C realm 2017-06-11 17:08:19 -07:00
zl6100.c hwmon: (pmbus) Use BIT macro 2015-08-19 09:08:17 -07:00