Input: max77693: Remove a read-only pwm_divisor field
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 30 Jul 2015 01:36:41 +0000 (10:36 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 7 Aug 2015 13:57:25 +0000 (14:57 +0100)
commitb3d8ba746b5109dc890e7480db5d014d19ae6a05
treee7961d2e0307ec006fd7f5e62b404299e89ac028
parent2a32b401a11fc48193e58b0a5af6ea82de0272de
Input: max77693: Remove a read-only pwm_divisor field

Storing a predefined PWM divisor in state container structure is
meaningless. The field, after initialization, is only read so this only
obfuscates the code. Remove the field and use directly enum value.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/input/misc/max77693-haptic.c