From: Naveen Jain Date: Wed, 9 Jun 2010 12:20:40 +0000 (-0500) Subject: Staging: ti-st: fix protocol counting X-Git-Tag: v2.6.36-rc1~520^2~1^2~445 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36e574fed5578aeee0ce4c7359bc17cc0b8e0b57;p=pandora-kernel.git Staging: ti-st: fix protocol counting Older mechanism of counting the number of protocols registered with ST was slow, in-efficient. It used to check the protocol data for NULL for each registration/unregistration. With this change, counting protocols in maintained by a single counter protos_registered. Counting protocols is not just for debug purposes Signed-off-by: Naveen Jain Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed