Input: pwm-beeper - switch to using "atomic" PWM API
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 19 Jan 2017 21:52:49 +0000 (13:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 22 Jan 2017 08:26:36 +0000 (00:26 -0800)
commit2de8b4110c82c243530a68381a1c39a4fe05c14f
tree523add2ef629c3e70a7eb515aa18069ff1eea78c
parent9e54924432783bfb21e905e0bf7042556bcb4b90
Input: pwm-beeper - switch to using "atomic" PWM API

The "atomic" API allows us to configure PWM period and duty cycle and
enable it in one call.

Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Tested-by: David Lechner <david@lechnology.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/pwm-beeper.c