Re: [PATCH 4/6] Bluetooth: mediatek: pass a pointer to mtk_hci_wmt_sync

From
Marcel Holtmann <marcel@holtmann.org>
Date
2019-02-18 13:08:14
Also in
linux-arm-kernel, linux-bluetooth, linux-devicetree, linux-mediatek
Reply to
sean.wang@mediatek.com, 2019-02-14
Hi Sean,
Pass a structure pointer to mtk_hci_wmt_sync rather than several arguments
to avoid take up additional stack area and be better to read the code.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
drivers/bluetooth/btmtkuart.c | 63 ++++++++++++++++++++++++++---------
1 file changed, 48 insertions(+), 15 deletions(-)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Thread (15 messages) 15 messages, 3 authors, last reply 2019-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help