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)
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

Simple merge
Simple merge
Simple merge
Simple merge