leds:pca963x: Always initialize MODE2 register
authorPeter Meerwald <pmeerw@pmeerw.net>
Thu, 3 Jul 2014 05:50:35 +0000 (22:50 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 3 Jul 2014 18:55:56 +0000 (11:55 -0700)
commit0c62f42dabb5d43d880262d7f1f85e6464acd601
tree60b3da61cc2b0adab9aa7ea512462bc8c89fcd32
parent3dfedb9d545346958311b8d73f90b8522d1fc759
leds:pca963x: Always initialize MODE2 register

PCA9632 defaults to open-drain
PCA9633/4/5 defaults to totem-pole

the driver assumed that totem-pole default and didn't actively set
the value; the MODE2 register is now written if platform
data indicating the mode is given

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-pca963x.c