Skip to content
Commit 2de3b704 authored by Damien Riegel's avatar Damien Riegel Committed by Dmitry Torokhov
Browse files

Input: pm8xxx-vib - parametrize the driver



In order to prepare this driver to support other vibrators of the same
kind, move some hardcoded values to a structure holding register
parameters (address, mask, shit of the control register).

Signed-off-by: default avatarDamien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f6bcc91b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment