kernel_optimize_test/drivers/hwmon/pmbus
Guenter Roeck 7ad6307ad6 hwmon: (zl6100) Maintain delay parameter in driver instance data
A global delay parameter has the side effect of being overwritten with 0 if a
single ZL2004 or ZL6105 is instantiated. If other chips supported by the same
driver are in the system, this will result in access errors for those chips.

To solve the problem, keep a per-instance copy of the delay parameter, and do
not change the original parameter.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # 3.1+
Acked-by: Jean Delvare <khali@linux-fr.org>
2012-03-07 09:48:43 -08:00
..
adm1275.c hwmon: (pmbus/adm1275) Validate device ID 2012-01-05 08:19:27 -08:00
Kconfig hwmon: (pmbus/zl6100) Add support for Ericsson BMR45[0,1] and BMR46[2,3,4] 2012-01-05 08:19:28 -08:00
lm25066.c hwmon: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
ltc2978.c hwmon: (pmbus/ltc2978) Add support for LTC3880 to LTC2978 driver 2011-10-24 11:09:43 -07:00
Makefile hwmon: (pmbus/ltc2978) Explicit driver for LTC2978 2011-10-24 11:09:42 -07:00
max8688.c hwmon: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
max16064.c hwmon: (pmbus) Don't return errors from driver remove functions 2011-10-24 11:09:33 -07:00
max34440.c hwmon: (max34440) Fix resetting temperature history 2012-02-24 08:06:15 -08:00
pmbus_core.c hwmon: (pmbus_core) Fix maximum number of POUT alarm attributes 2012-03-07 09:48:42 -08:00
pmbus.c hwmon: (pmbus/zl6100) Add support for Ericsson BMR45[0,1] and BMR46[2,3,4] 2012-01-05 08:19:28 -08:00
pmbus.h hwmon: (pmbus) Add support for TEMP2 peak attributes 2011-10-24 11:09:42 -07:00
ucd9000.c hwmon: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
ucd9200.c hwmon: (pmbus) Don't return errors from driver remove functions 2011-10-24 11:09:33 -07:00
zl6100.c hwmon: (zl6100) Maintain delay parameter in driver instance data 2012-03-07 09:48:43 -08:00