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)
commit2b14a808fbbb042d0de323260d939bdf95e9efdf
tree48602ddf8851c251437d1bcf192a520da251c224
parentb63de38591605916fff5d483e0bedc65dfe3d395
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