]> git.baikalelectronics.ru Git - kernel.git/commit
Input: twl6040: Simplify vibra regsiter definitions
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 12 Oct 2011 08:57:53 +0000 (11:57 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 12 Oct 2011 10:48:35 +0000 (11:48 +0100)
commit532c4c9a021778eb1006efd9ebd504feee66d2dd
treec60db28df0b38e6ded7ee538043d0a620b11e4b4
parent4fe41ad1be2dbbde20d206ded49058fa6afbbb16
Input: twl6040: Simplify vibra regsiter definitions

The bits within the two control registers (for left and right channel)
are identical.
Use common names for the bits acros the two register.
Also add the missing definition for the path selection bit.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/input/misc/twl6040-vibra.c
include/linux/mfd/twl6040.h