Input: bfin_rotary - use generic IO functions
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 6 Feb 2015 05:32:59 +0000 (21:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 16 Feb 2015 00:06:28 +0000 (16:06 -0800)
commit71adf22f476aae18bfe1fb7605d41f9cf95d0e5f
tree96fe2109cf379cc9371dc5185eefbdb1d8f365b7
parent5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6
Input: bfin_rotary - use generic IO functions

Instead of using arch-specific accessors remap rotary register physical
address into kernel space in probe and use standard readw and writew to
access rotary MMRs.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
arch/blackfin/mach-bf527/boards/ad7160eval.c
arch/blackfin/mach-bf527/boards/ezkit.c
arch/blackfin/mach-bf548/boards/ezkit.c
arch/blackfin/mach-bf609/boards/ezkit.c
drivers/input/misc/bfin_rotary.c