]> 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)
commit8019c0f32359cd653952cd99ebac3cfa9db815c4
treec60db28df0b38e6ded7ee538043d0a620b11e4b4
parent1ac599fc28b434e88cae0203bbaba0a1cbc28400
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