[PATCH] staging: rtl8712: Fix spelling mistake in rtl871x_io.h

Roshan Khatri posted 1 patch 1 year, 8 months ago
drivers/staging/rtl8712/rtl871x_io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] staging: rtl8712: Fix spelling mistake in rtl871x_io.h
Posted by Roshan Khatri 1 year, 8 months ago
This patch corrects misspelled word to increase code readability and
searching.

Signed-off-by: Roshan Khatri <topofeverest8848@gmail.com>
---
 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8712/rtl871x_io.h b/drivers/staging/rtl8712/rtl871x_io.h
index c5b12f74ebf8..f09d50a29b82 100644
--- a/drivers/staging/rtl8712/rtl871x_io.h
+++ b/drivers/staging/rtl8712/rtl871x_io.h
@@ -62,7 +62,7 @@
 #define IO_WR_BURST(x)		(IO_WRITE_ | _IO_SYNC_ | _IO_BURST_ | \
 				((x) & _IOSZ_MASK_))
 #define IO_RD_BURST(x)		(_IO_SYNC_ | _IO_BURST_ | ((x) & _IOSZ_MASK_))
-/*below is for the intf_option bit defition...*/
+/*below is for the intf_option bit definition...*/
 #define _INTF_ASYNC_	BIT(0)	/*support async io*/
 struct intf_priv;
 struct	intf_hdl;
-- 
2.34.1
Re: [PATCH] staging: rtl8712: Fix spelling mistake in rtl871x_io.h
Posted by Philipp Hortmann 1 year, 8 months ago
On 25.05.24 18:02, Roshan Khatri wrote:
> This patch corrects misspelled word to increase code readability and
> searching.
> 
> Signed-off-by: Roshan Khatri <topofeverest8848@gmail.com>
> ---
>   drivers/staging/rtl8712/rtl871x_io.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8712/rtl871x_io.h b/drivers/staging/rtl8712/rtl871x_io.h
> index c5b12f74ebf8..f09d50a29b82 100644
> --- a/drivers/staging/rtl8712/rtl871x_io.h
> +++ b/drivers/staging/rtl8712/rtl871x_io.h
> @@ -62,7 +62,7 @@
>   #define IO_WR_BURST(x)		(IO_WRITE_ | _IO_SYNC_ | _IO_BURST_ | \
>   				((x) & _IOSZ_MASK_))
>   #define IO_RD_BURST(x)		(_IO_SYNC_ | _IO_BURST_ | ((x) & _IOSZ_MASK_))
> -/*below is for the intf_option bit defition...*/
> +/*below is for the intf_option bit definition...*/
>   #define _INTF_ASYNC_	BIT(0)	/*support async io*/
>   struct intf_priv;
>   struct	intf_hdl;

Reviewed-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>