Input: xilinx_ps2 - various cleanups
commitb4a3ac9a3c26e82e31f8a8f55cb014bc580b1216
authorJohn Linn <john.linn@xilinx.com>
Tue, 28 Oct 2008 02:17:22 +0000 (27 22:17 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Oct 2008 02:23:32 +0000 (27 22:23 -0400)
tree88d6b866e40144c2c220b758640674aeffd25406
parent2d56f3a32c0e62f99c043d2579840f9731fe5855
Input: xilinx_ps2 - various cleanups

Review comments were incorporated to improve the driver.

1. Some data was eliminated that was not needed.
2. Renaming of variables for clarity.
3. Removed unneeded type casting.
4. Changed to use dev_err rather than other I/O.
5. Merged together some functions.
6. Added kerneldoc format to functions.

Signed-off-by: Sadanand <sadanan@xilinx.com>
Signed-off-by: John Linn <john.linn@xilinx.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/xilinx_ps2.c