summaryrefslogtreecommitdiff
path: root/drivers/char/apm-emulation.c
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-08 02:45:05 +0300
committerJiri Kosina <jkosina@suse.cz>2017-03-21 17:11:56 +0300
commitb53227360dc2e30fb8809815dfdc39339a34b8dd (patch)
treec2771c53a58da299f59006811333f046c1d9fc44 /drivers/char/apm-emulation.c
parent35f436c31ea81d240ed53fe3467946e2a53032bb (diff)
downloadlinux-b53227360dc2e30fb8809815dfdc39339a34b8dd.tar.xz
HID: sony: Make work handling more generic
The driver currently uses sony_schedule_work to submit output reports for the different devices for LEDs or rumble. This patch adds a new parameter to sony_schedule_work to allow scheduling for other types of work. The next patch in this series will utilize this functionality. Considering the driver structure and all error handling it felt best to reuse sony_schedule_work and sony_cancel_work. The idea was inspired by the wacom driver which does something similar. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/char/apm-emulation.c')
0 files changed, 0 insertions, 0 deletions