This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 910318472210d2ad95c597425d2c9769b2ec3aa5
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Mon Jan 18 03:58:53 2021 +0800

    bluetooth: Rename *bt_uart_shim_getdevice to btuart_shim_getdevice
    
    follow other bluetooth driver convention(e.g. btuart_register)
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 drivers/wireless/bluetooth/bt_uart_shim.c       | 4 ++--
 include/nuttx/wireless/bluetooth/bt_uart_shim.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/wireless/bluetooth/bt_uart_shim.c 
b/drivers/wireless/bluetooth/bt_uart_shim.c
index 8f1cb15..a52d174 100644
--- a/drivers/wireless/bluetooth/bt_uart_shim.c
+++ b/drivers/wireless/bluetooth/bt_uart_shim.c
@@ -383,7 +383,7 @@ static int hcicollecttask(int argc, FAR char **argv)
  ****************************************************************************/
 
 /****************************************************************************
- * Name: bt_uart_shim_getdevice
+ * Name: btuart_shim_getdevice
  *
  * Description:
  *   Get a pointer to the device that will be used to communicate with the
@@ -397,7 +397,7 @@ static int hcicollecttask(int argc, FAR char **argv)
  *
  ****************************************************************************/
 
-FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path)
+FAR struct btuart_lowerhalf_s *btuart_shim_getdevice(FAR const char *path)
 {
   FAR struct hciuart_config_s *n;
   FAR struct hciuart_state_s *s;
diff --git a/include/nuttx/wireless/bluetooth/bt_uart_shim.h 
b/include/nuttx/wireless/bluetooth/bt_uart_shim.h
index 536335f..69cf38e 100644
--- a/include/nuttx/wireless/bluetooth/bt_uart_shim.h
+++ b/include/nuttx/wireless/bluetooth/bt_uart_shim.h
@@ -49,7 +49,7 @@
  * Public Function Prototypes
  ****************************************************************************/
 
-FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path);
+FAR struct btuart_lowerhalf_s *btuart_shim_getdevice(FAR const char *path);
 
 #endif
 #endif

Reply via email to