hwmon: (pmbus) add helpers for byte write and read modify write

Add two helper functions:
 * pmbus_write_byte_data  = paged byte write
 * pmbus_update_byte_data = paged byte read/modify/write

Signed-off-by: Alan Tull <atull@opensource.altera.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Alan Tull 2014-10-15 13:55:08 -05:00 • committed by Guenter Roeck
commit 11c119986f
2 changed files with 35 additions and 0 deletions