diff options
author | Joe Perches <joe@perches.com> | 2011-06-29 18:18:29 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-07-11 11:59:26 -0700 |
commit | d8e4f87b5c7261041eca098b3863cd1f8a257bba (patch) | |
tree | ba7eb882c14a880071db001539f1653ba060cd6d /net/bluetooth/lib.c | |
parent | 6e35f04700b3ecc4f2b188f7d942eb3cf96a1e4e (diff) | |
download | kernel_samsung_espresso10-d8e4f87b5c7261041eca098b3863cd1f8a257bba.tar.gz kernel_samsung_espresso10-d8e4f87b5c7261041eca098b3863cd1f8a257bba.tar.bz2 kernel_samsung_espresso10-d8e4f87b5c7261041eca098b3863cd1f8a257bba.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c index b826d1bf10d..4e7cf8b0bd8 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); |