]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sh_keysc - factor out hw access functions
authorMagnus Damm <damm@opensource.se>
Thu, 11 Feb 2010 06:13:21 +0000 (22:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Feb 2010 07:04:07 +0000 (23:04 -0800)
commitf627fb4a1e93e9b0f0d49a7bac99da1c8e89e1b1
tree48602ddf8851c251437d1bcf192a520da251c224
parent51f5d12b7057265e8a70a12972b4dc15878acba1
Input: sh_keysc - factor out hw access functions

Update the sh_keysc driver to factor out the register access functions
sh_keysc_read(), sh_keysc_write() together with sh_keysc_level_mode().
This makes the code a bit easier to follow.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/sh_keysc.c