]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit11c119986f2700e9daca0d795fbe84a988939655
tree42749a9012146e67645a597cbff2c2d6503e53a7
parent7e9d62d3878654f485bde016f54d1b9d2c84cf6b
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