dm: pmic: Add functions to adjust PMIC registers
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:01 +0000 (15:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:27 +0000 (17:39 -0600)
commit6c69c7fb57be1e184126aa29782942243ced7421
tree6f24f5288bc0f1185732db39b2a9390d482be14d
parent59c26a9c22cecf7404fc0d1db0264c6a911141dc
dm: pmic: Add functions to adjust PMIC registers

It is a common requirement to update some PMIC registers. Provide some
simple convenience functions to do this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/power/pmic/pmic-uclass.c
include/power/pmic.h