commit | 2de3b7048d029fef8f5c25faa1483f5e66402e49 | [log] [tgz] |
---|---|---|
author | Damien Riegel <damien.riegel@savoirfairelinux.com> | Tue Apr 04 16:25:57 2017 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Apr 05 08:52:37 2017 -0700 |
tree | 3312abde90f3c04a0ce0b36f00840b2da85da34b | |
parent | f6bcc91ba632ce35005ed8a3cfa01a2498d2d96a [diff] |
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: Damien Riegel <damien.riegel@savoirfairelinux.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>