linux_dsm_epyc7002/include/net/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
..
bluetooth.h Bluetooth: Remove unneeded bt_cb(skb)->channel variable 2012-02-20 15:55:37 +02:00
hci_core.h Bluetooth: Remove redundant hdev->parent field 2012-05-09 00:41:30 -03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci.h Bluetooth: Fix userspace compatibility issue with mgmt interface 2012-04-05 15:05:51 -03:00
l2cap.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
mgmt.h Bluetooth: mgmt: Fix timeout type 2012-03-28 15:13:18 -03:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
smp.h Bluetooth: Rename smp_key_size to enc_key_size 2012-02-13 17:01:30 +02:00