Bluetooth: Use PTR_RET function
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Sat, 16 Mar 2013 14:10:03 +0000 (16:10 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 14:56:15 +0000 (11:56 -0300)
commit12033caf2380dbd28a497519eece9e92ccdca1c7
tree66ff825e34811fb3e40821f1e7624913d3fc8f13
parent77189df43114e85b563d039d0b7f23d4f8f71d79
Bluetooth: Use PTR_RET function

Used PTR_RET function instead of IS_ERR and PTR_ERR.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_sysfs.c