dm: pmic: Correct the pmic_reg_write() implementation
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:16:03 +0000 (18:16 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 03:06:12 +0000 (21:06 -0600)
commitcd367d89979c0476e2fcbca445a49008b372872b
tree3b3ad5b3edfc6b2b3eb81dacbc8c9c6121b01b0a
parentb5ffa4fdcb656b8995d6800f9c10dad76a44d38b
dm: pmic: Correct the pmic_reg_write() implementation

This should write the register, not read it. Fix this bug.

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