Input: cyapa - add runtime power management support
authorDudley Du <dudl@cypress.com>
Sun, 18 Jan 2015 02:57:42 +0000 (18:57 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Jan 2015 08:10:29 +0000 (00:10 -0800)
commit672865080a8f3fa4da41386a1d44fd931a4e6066
treeec0cc5dec14b1412242b6b085143bb500fc7b960
parent22e7db8111e4f2736280ed8f9c40c91e974794a7
Input: cyapa - add runtime power management support

This change implements runtime PM support in the driver and adds
runtime_suspend_scanrate_ms power management interface in device's power
group, so users or applications can control the runtime power management
strategy of trackpad device according to their requirements.

Signed-off-by: Dudley Du <dudl@cypress.com>
Tested-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa.c
drivers/input/mouse/cyapa.h