drivers:misc: ti-st: fix debugging code
authorPavan Savoy <pavan_savoy@ti.com>
Wed, 2 Mar 2011 09:59:56 +0000 (03:59 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 10 Mar 2011 00:10:00 +0000 (16:10 -0800)
commitc1605f2e3312ca149caf32129e0b25b1e7296f36
treebce1a8aa5ed04d5949eab549f54a983a53f99360
parentd5c97c1099f5617dc1ba3d1f0058d1341b1faf4c
drivers:misc: ti-st: fix debugging code

debug code in TI-ST driver can be enabled by #defining
DEBUG in the first line of the code and in case debugfs
is mounted, the 2 entries in /sys/kernel/debug/ti-st/ will
also provide useful information.
These 2 were broken because of the recent changes to the parsing
logic and the registration mechanism of the protocol drivers,
this patch fixes them.

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