]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drivers:misc: ti-st: avoid a misleading dbg msg
authorPavan Savoy <pavan_savoy@ti.com>
Wed, 10 Aug 2011 15:18:30 +0000 (10:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 21:13:31 +0000 (14:13 -0700)
commit5926cef26c72cd121266b000b8975e6373cbf2b3
treec72ff1fe504baffe4bb60e1fb9cd37b8a8117d3f
parent86ec67fd0a28c7f2b765e33aaf5b002d28c5f1fa
drivers:misc: ti-st: avoid a misleading dbg msg

Previously the private data of each protocol registered to use ST was
used to determine whether the protocol was registered to use shared
transport or otherwise.
However, now a flag is_registered is maintained to identify whether a
protocol intends to use ST.
Upon closing of the UART the error message relevant to this lack of
un-registration was misleading and this patch fixes that.

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