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>
This commit is contained in:
parent
942ecc9c46
commit
e175072f37
5 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue