tmp_suning_uos_patched/drivers/bluetooth
David Herrmann 6935e0f518 Bluetooth: Remove redundant hdev->parent field
We initialize the "struct device" in hci_alloc_dev() for a long time now
so we can access hdev->dev.parent directly. Hence, we can drop the
temporary field hdev->parent which is used in no other place than
hci_add_sysfs().

SET_HCIDEV_DEV() is never called after registering a device by the
drivers so we do not overwrite internal device-state. Furthermore,
hdev->dev is initialized to 0 by kzalloc() inside hci_alloc_dev() so the
default behavior with dev.parent = NULL is kept.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-05-09 00:41:30 -03:00
..
ath3k.c Bluetooth: Add support for AR3012 [0cf3:e004] 2012-04-19 11:14:06 +02:00
bcm203x.c USB: convert drivers/bluetooth/* to use module_usb_driver() 2011-11-18 09:47:34 -08:00
bfusb.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
bluecard_cs.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
bpa10x.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
bt3c_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
btmrvl_debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
btmrvl_drv.h Bluetooth: Use __packed annotation for drivers 2010-07-21 10:39:13 -07:00
btmrvl_main.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
btmrvl_sdio.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2011-12-09 14:07:12 -05:00
btmrvl_sdio.h Bluetooth: btmrvl: support Marvell Bluetooth device SD8787 2011-04-13 12:20:05 -03:00
btsdio.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
btuart_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
btusb.c Add Foxconn / Hon Hai IDs for btusb module 2012-04-24 11:38:41 -03:00
btwilink.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
dtl1_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hci_ath.c Bluetooth: hci-uart-ath: Use GFP_ATOMIC in open() 2012-02-13 17:01:22 +02:00
hci_bcsp.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git 2012-02-16 14:25:34 +02:00
hci_h4.c Bluetooth: hci-uart-h4: Use GFP_ATOMIC in open() 2012-02-13 17:01:22 +02:00
hci_ldisc.c Bluetooth: Remove redundant hdev->parent field 2012-05-09 00:41:30 -03:00
hci_ll.c Bluetooth: hci-uart-ll: Use GFP_ATOMIC in open() 2012-02-13 17:01:22 +02:00
hci_uart.h Bluetooth: Add support for creating HCI UART based AMP controllers 2012-02-24 20:15:34 +02:00
hci_vhci.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
Kconfig Bluetooth: btmrvl: support Marvell Bluetooth device SD8797 2011-11-21 13:52:31 -02:00
Makefile Bluetooth: btwilink driver 2011-02-23 14:39:10 -08:00