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)
commit1e036f65329901a2432c92132b785654944743d9
treec60db28df0b38e6ded7ee538043d0a620b11e4b4
parent40a49710107c237a2f4362c8b8bf07df3bac53dd
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