diff mbox series

[1/1] dm: syscon: typo alerady

Message ID 20200822051626.19432-1-xypron.glpk@gmx.de
State Accepted
Commit 36da81e0c189a924663d1218455388566d8413e4
Delegated to: Simon Glass
Headers show
Series [1/1] dm: syscon: typo alerady | expand

Commit Message

Heinrich Schuchardt Aug. 22, 2020, 5:16 a.m. UTC
* Fix typo: %s/alerady/already/.
* Add missing 'the'.
* Reformat a comment.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/core/syscon-uclass.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

--
2.28.0

Comments

Simon Glass Aug. 25, 2020, 3:04 p.m. UTC | #1
On Fri, 21 Aug 2020 at 23:16, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> * Fix typo: %s/alerady/already/.
> * Add missing 'the'.
> * Reformat a comment.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  drivers/core/syscon-uclass.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>


> diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c
> index b5cd763b6b..9cbda4ebda 100644
> --- a/drivers/core/syscon-uclass.c
> +++ b/drivers/core/syscon-uclass.c
> @@ -18,12 +18,16 @@
>
>  /*
>   * Caution:
> - * This API requires the given device has alerady been bound to syscon driver.
> - * For example,
> + * This API requires the given device has already been bound to the syscon
> + * driver. For example,
> + *
>   *    compatible = "syscon", "simple-mfd";
> + *
>   * works, but
> + *
>   *    compatible = "simple-mfd", "syscon";
> - * does not.  The behavior is different from Linux.
> + *
> + * does not. The behavior is different from Linux.
>   */
>  struct regmap *syscon_get_regmap(struct udevice *dev)
>  {
> --
> 2.28.0
>
Simon Glass Sept. 27, 2020, 1:59 a.m. UTC | #2
On Fri, 21 Aug 2020 at 23:16, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> * Fix typo: %s/alerady/already/.
> * Add missing 'the'.
> * Reformat a comment.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  drivers/core/syscon-uclass.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>


Applied to u-boot-dm/next, thanks!
diff mbox series

Patch

diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c
index b5cd763b6b..9cbda4ebda 100644
--- a/drivers/core/syscon-uclass.c
+++ b/drivers/core/syscon-uclass.c
@@ -18,12 +18,16 @@ 

 /*
  * Caution:
- * This API requires the given device has alerady been bound to syscon driver.
- * For example,
+ * This API requires the given device has already been bound to the syscon
+ * driver. For example,
+ *
  *    compatible = "syscon", "simple-mfd";
+ *
  * works, but
+ *
  *    compatible = "simple-mfd", "syscon";
- * does not.  The behavior is different from Linux.
+ *
+ * does not. The behavior is different from Linux.
  */
 struct regmap *syscon_get_regmap(struct udevice *dev)
 {