isdn/capi: move capi_info2str to capidrv.c
authorPaul Bolle <pebolle@tiscali.nl>
Sun, 1 Jun 2014 21:47:24 +0000 (23:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 06:13:41 +0000 (23:13 -0700)
commitca05e3a7551b71891d42d637d3a1e443c6bbd781
treeb1e3ed16facd0b2ddd19ae45b12ad2339ce62027
parent00d115fc758c6ef331553a9c6aa34b7bd79116a5
isdn/capi: move capi_info2str to capidrv.c

capi_info2str() is apparently meant to be of general utility. It is
actually only used in capidrv.c. So move it from capiutil.c to
capidrv.c and (obviously) stop exporting it.

And, since we're touching this, merge the two versions of this
function.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capidrv.c
drivers/isdn/capi/capiutil.c
include/linux/isdn/capiutil.h