]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd: twl6040: Remove duplicate register write
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Tue, 25 Feb 2014 13:28:20 +0000 (14:28 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Mar 2014 08:58:27 +0000 (08:58 +0000)
commitf8935e1cfcccd4904ee1bd1420aa781d43175479
treee78dac8bab74cd861bbedb9d2a83d2a003c7eb9a
parent16263f2879afecb7772f4bae238bca66352ecffe
mfd: twl6040: Remove duplicate register write

When probing, regmap_register_patch() will bypass the cache and perform
i2c writes for the given patches. It is thus unnecessary to manually set
the TWL6040_REG_ACCCTL register just before, as it will be done when
registering the twl6040_patch.

Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl6040.c