drivers: misc: ti-st: fix review comments
authorPavan Savoy <pavan_savoy@ti.com>
Tue, 12 Oct 2010 20:27:38 +0000 (16:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Oct 2010 19:41:10 +0000 (12:41 -0700)
commit73f12e8d3d94828b9efe2b8b8a34b4ad6d14ee47
tree42b4dad70d74feccd5c6c802eef6837606096ffe
parentda6830ac3969c9480e05ed2b21eee64e21a101d2
drivers: misc: ti-st: fix review comments

Based on comments from Jiri Slaby, drop the register
storage specifier, remove the unused code, cleanup
the const to non-const type casting.
Also make the line discipline ops structure static, since
its a singleton, unmodified structure which need not be
in heap.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/ti-st/st_core.c
drivers/misc/ti-st/st_kim.c
include/linux/ti_wilink_st.h