Re: [PATCH 2/4 v2] Bluetooth: Remove hci_dev->driver_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

> The linux device model provides dev_set/get_drvdata so we can use this
> to save private driver data.
> This also removes several unnecessary casts.
> 
> Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxxxxxxx>
> ---
> v2: Fixed a bug spotted by Anderson Lizardo. I checked the variables in
> btmrvl_main.c in the wrong order.
> 
>  drivers/bluetooth/bfusb.c          |   10 +++++-----
>  drivers/bluetooth/bluecard_cs.c    |   12 ++++++------
>  drivers/bluetooth/bpa10x.c         |   18 +++++++++---------
>  drivers/bluetooth/bt3c_cs.c        |    6 +++---
>  drivers/bluetooth/btmrvl_debugfs.c |   26 ++++++++++++--------------
>  drivers/bluetooth/btmrvl_main.c    |   11 ++++++-----
>  drivers/bluetooth/btsdio.c         |   10 +++++-----
>  drivers/bluetooth/btuart_cs.c      |    6 +++---
>  drivers/bluetooth/btusb.c          |   28 ++++++++++++++--------------
>  drivers/bluetooth/btwilink.c       |    8 ++++----
>  drivers/bluetooth/dtl1_cs.c        |    6 +++---
>  drivers/bluetooth/hci_ldisc.c      |    6 +++---
>  drivers/bluetooth/hci_vhci.c       |    8 ++++----
>  include/net/bluetooth/hci_core.h   |   11 ++++++++++-
>  14 files changed, 87 insertions(+), 79 deletions(-)

Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux