HID: cypress: use swap() in cp_report_fixup()
authorFabian Frederick <fabf@skynet.be>
Wed, 10 Jun 2015 16:32:05 +0000 (18:32 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 18 Jun 2015 09:00:42 +0000 (11:00 +0200)
commit74a3e0c719dcfc66333f43a8414a9c5bfc50bf95
treeffbee832725f1604367c806bbbdb37ae26337a1d
parent18eec2cd7e9746cd672ada102987534ae16f0f44
HID: cypress: use swap() in cp_report_fixup()

Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-cypress.c