Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfs
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 00:24:16 +0000 (17:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:45:19 +0000 (10:45 +0300)
commit1120e4bfa5f9c28cb55d815ab3c6bed81dfc595c
tree0a24ba3d546bf60ea51a022028f66747b0829996
parent47219839b43dec0520ef1ec72122186b3aa3de97
Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfs

Make sure to use IS_ERR_OR_NULL for checking the existing of the root
debugfs dentry bt_debugfs.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c
net/bluetooth/rfcomm/core.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/sco.c