Bluetooth: Use NULL instead of integer for mgmt_device_connected param
authorSzymon Janc <szymon@janc.net.pl>
Sun, 12 Feb 2012 12:55:35 +0000 (13:55 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 29 Feb 2012 15:48:31 +0000 (17:48 +0200)
commit95b23582d796305c66952188de2f5159b28be766
tree2f227289ab4ef0dafa76eb690b0bc39c767807f8
parent426c189a1b34c0d36d5eddbe1c35bc961b1a1b68
Bluetooth: Use NULL instead of integer for mgmt_device_connected param

Last param of mgmt_device_connected is of pointer type, so use NULL
instead of 0 for it. This fix following sparse warning:

CHECK   net/bluetooth/hci_event.c
net/bluetooth/hci_event.c:3262:74: warning: Using plain integer as NULL pointer

Signed-off-by: Szymon Janc <szymon@janc.net.pl>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c