# 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 
- List: linux-bluetooth
- Page: https://ratatoskr.run/linux-bluetooth/2019/02/5517543
- Thread: https://ratatoskr.run/linux-devicetree/2019/02/5515286/t.md

```text
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

```
