From: Guenter Roeck Date: Sat, 30 Jul 2011 05:19:39 +0000 (-0700) Subject: hwmon: (pmbus) Always call _pmbus_read_byte in core driver X-Git-Tag: v3.2-rc1~171^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da8e48ab483e1f54c1099bed91bfd2c302bc7ddf;p=pandora-kernel.git 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 Reviewed-by: Robert Coulson --- Reading git-diff-tree failed