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
..
2011-07-26 16:49:47 -07:00
2011-07-28 01:30:07 -07:00
2011-10-13 13:49:37 -06:00
2011-07-22 14:39:51 +09:30
2011-10-23 20:55:17 +01:00
2011-07-26 16:49:47 -07:00
2011-07-25 21:00:19 -07:00
2011-07-26 16:49:47 -07:00
2011-10-04 10:10:50 -06:00
2011-07-26 16:49:47 -07:00
2011-08-25 16:25:33 -07:00