[PATCH] greybus: Fix a typo

Christophe JAILLET posted 1 patch 3 weeks, 1 day ago
drivers/greybus/interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] greybus: Fix a typo
Posted by Christophe JAILLET 3 weeks, 1 day ago
s/interfce/interface/
A 'a' is missing. Add it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/greybus/interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/greybus/interface.c b/drivers/greybus/interface.c
index d022bfb5e95d..a0f3e9422721 100644
--- a/drivers/greybus/interface.c
+++ b/drivers/greybus/interface.c
@@ -780,7 +780,7 @@ const struct device_type greybus_interface_type = {
  * The position of interface within the Endo is encoded in "interface_id"
  * argument.
  *
- * Returns a pointer to the new interfce or a null pointer if a
+ * Returns a pointer to the new interface or a null pointer if a
  * failure occurs due to memory exhaustion.
  */
 struct gb_interface *gb_interface_create(struct gb_module *module,
-- 
2.47.0
Re: [PATCH] greybus: Fix a typo
Posted by Alex Elder 3 weeks, 1 day ago
On 11/2/24 4:35 AM, Christophe JAILLET wrote:
> s/interfce/interface/
> A 'a' is missing. Add it.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Looks good.

Reviewed-by: Alex Elder <elder@riscstar.com>

> ---
>   drivers/greybus/interface.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/greybus/interface.c b/drivers/greybus/interface.c
> index d022bfb5e95d..a0f3e9422721 100644
> --- a/drivers/greybus/interface.c
> +++ b/drivers/greybus/interface.c
> @@ -780,7 +780,7 @@ const struct device_type greybus_interface_type = {
>    * The position of interface within the Endo is encoded in "interface_id"
>    * argument.
>    *
> - * Returns a pointer to the new interfce or a null pointer if a
> + * Returns a pointer to the new interface or a null pointer if a
>    * failure occurs due to memory exhaustion.
>    */
>   struct gb_interface *gb_interface_create(struct gb_module *module,