linux/drivers/hwmon/pmbus
Guenter Roeck da8e48ab48 hwmon: (pmbus) Always call _pmbus_read_byte in core driver
Always call _pmbus_read_byte() instead of pmbus_read_byte() in PMBus core
driver. With this change, device specific read functions can be implemented for
all registers.

Since the device specific read_byte function is now always called, we need to be
more careful with page validations. Only fail if the passed page number is larger
than 0, since -1 means "current page".

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
2011-10-24 11:09:40 -07:00
..
adm1275.c hwmon: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
Kconfig hwmon: (pmbus/adm1275) Add support for ADM1276 2011-10-24 11:09:35 -07:00
lm25066.c hwmon: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
Makefile hwmon: (pmbus) Add client driver for LM25066, LM5064, and LM5066 2011-07-28 20:16:17 -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: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
pmbus_core.c hwmon: (pmbus) Always call _pmbus_read_byte in core driver 2011-10-24 11:09:40 -07:00
pmbus.c hwmon: (pmbus) Don't return errors from driver remove functions 2011-10-24 11:09:33 -07:00
pmbus.h hwmon: (pmbus) Don't return errors from driver remove functions 2011-10-24 11:09:33 -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