summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/lib.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-06-30 03:18:29 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-06-30 23:44:08 +0200
commite175072f377047e28e399c5c661e39e69722f35b (patch)
treea82e4a67efe76fefcbe958c258fafbd96afaa471 /net/bluetooth/lib.c
parentBluetooth: ERTM timeouts need to be converted to jiffies (diff)
downloadlinux-e175072f377047e28e399c5c661e39e69722f35b.tar.xz
linux-e175072f377047e28e399c5c661e39e69722f35b.zip
Bluetooth: Rename function bt_err to bt_to_errno
Make it easier to use more normal logging styles later. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/lib.c')
-rw-r--r--net/bluetooth/lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c
index b826d1bf10df..4e7cf8b0bd87 100644
--- a/net/bluetooth/lib.c
+++ b/net/bluetooth/lib.c
@@ -59,7 +59,7 @@ char *batostr(bdaddr_t *ba)
EXPORT_SYMBOL(batostr);
/* Bluetooth error codes to Unix errno mapping */
-int bt_err(__u16 code)
+int bt_to_errno(__u16 code)
{
switch (code) {
case 0:
@@ -149,4 +149,4 @@ int bt_err(__u16 code)
return ENOSYS;
}
}
-EXPORT_SYMBOL(bt_err);
+EXPORT_SYMBOL(bt_to_errno);