]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus) add helpers for byte write and read modify write
authorAlan Tull <atull@opensource.altera.com>
Wed, 15 Oct 2014 18:55:08 +0000 (13:55 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 1 Dec 2014 04:13:13 +0000 (20:13 -0800)
commit4e26d786863b1355ce92910d9f24b805bbb14599
tree42749a9012146e67645a597cbff2c2d6503e53a7
parentabef2dc9cb8adccd248e64f24b360c2ec012c3cd
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>
drivers/hwmon/pmbus/pmbus.h
drivers/hwmon/pmbus/pmbus_core.c