bluetooth: Rename *bt_uart_shim_getdevice to btuart_shim_getdevice

follow other bluetooth driver convention(e.g. btuart_register)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-01-18 03:58:53 +08:00 committed by Brennan Ashton
parent eda15d23c2
commit 9103184722
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

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