Re: [PATCH] Bluetooth: Use separate function for BCM92035 vendor setup

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

 



Hi Marcel,

* Marcel Holtmann <marcel@xxxxxxxxxxxx> [2013-04-10 08:11:35 -0700]:

> Trying to squeeze every single vendor setup routine into the same function
> and have it assigned all the time is actually a bad idea. Especially since
> the core can handle the absence of a setup routine perfectly fine.
> 
> To make this a lot simpler for future additions of vendor setup code,
> split the BCM92035 setup into its own function and only assign it when
> this specific device has been detected.
> 
> Doing it like this has the nice side benefit that we do not have to keep
> a copy of the driver_info around.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  drivers/bluetooth/btusb.c | 52 ++++++++++++++++++++++-------------------------
>  1 file changed, 24 insertions(+), 28 deletions(-)

Patch has been applied to bluetooth-next. Thanks.

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