diff mbox series

video: mmp: Few typo fixes

Message ID 20210322130210.3641181-1-unixbhaskar@gmail.com (mailing list archive)
State New, archived
Headers show
Series video: mmp: Few typo fixes | expand

Commit Message

Bhaskar Chowdhury March 22, 2021, 1:02 p.m. UTC
s/configed/configured/
s/registed/registered/
s/defintions/definitions/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 include/video/mmp_disp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
2.31.0

Comments

Randy Dunlap March 22, 2021, 7:36 p.m. UTC | #1
On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote:
> 
> s/configed/configured/
> s/registed/registered/
> s/defintions/definitions/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  include/video/mmp_disp.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/video/mmp_disp.h b/include/video/mmp_disp.h
> index 77252cb46361..ea8b4331b7a1 100644
> --- a/include/video/mmp_disp.h
> +++ b/include/video/mmp_disp.h
> @@ -172,7 +172,7 @@ struct mmp_panel {
>  	/* use node to register to list */
>  	struct list_head node;
>  	const char *name;
> -	/* path name used to connect to proper path configed */
> +	/* path name used to connect to proper path configured */
>  	const char *plat_path_name;
>  	struct device *dev;
>  	int panel_type;
> @@ -291,7 +291,7 @@ static inline int mmp_overlay_set_addr(struct mmp_overlay *overlay,
>   * it defined a common interface that plat driver need to implement
>   */
>  struct mmp_path_info {
> -	/* driver data, set when registed*/
> +	/* driver data, set when registered*/
>  	const char *name;
>  	struct device *dev;
>  	int id;
> @@ -309,7 +309,7 @@ extern void mmp_unregister_path(struct mmp_path *path);
>  extern void mmp_register_panel(struct mmp_panel *panel);
>  extern void mmp_unregister_panel(struct mmp_panel *panel);
> 
> -/* defintions for platform data */
> +/* definitions for platform data */
>  /* interface for buffer driver */
>  struct mmp_buffer_driver_mach_info {
>  	const char	*name;
> --
Joe Perches March 24, 2021, 4:43 a.m. UTC | #2
On Mon, 2021-03-22 at 12:36 -0700, Randy Dunlap wrote:
> On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote:
> > 
> > s/configed/configured/
> > s/registed/registered/
> > s/defintions/definitions/
> > 
> > Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> 
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
[]
> > diff --git a/include/video/mmp_disp.h b/include/video/mmp_disp.h
> > index 77252cb46361..ea8b4331b7a1 100644
> > --- a/include/video/mmp_disp.h
> > +++ b/include/video/mmp_disp.h
> > @@ -172,7 +172,7 @@ struct mmp_panel {
> >  	/* use node to register to list */
> >  	struct list_head node;
> >  	const char *name;
> > -	/* path name used to connect to proper path configed */
> > +	/* path name used to connect to proper path configured */

The spelling is now correct, but the word order doesn't make much sense.

> > @@ -291,7 +291,7 @@ static inline int mmp_overlay_set_addr(struct mmp_overlay *overlay,
> >   * it defined a common interface that plat driver need to implement
> >   */
> >  struct mmp_path_info {
> > -	/* driver data, set when registed*/
> > +	/* driver data, set when registered*/

should have a space before */
diff mbox series

Patch

diff --git a/include/video/mmp_disp.h b/include/video/mmp_disp.h
index 77252cb46361..ea8b4331b7a1 100644
--- a/include/video/mmp_disp.h
+++ b/include/video/mmp_disp.h
@@ -172,7 +172,7 @@  struct mmp_panel {
 	/* use node to register to list */
 	struct list_head node;
 	const char *name;
-	/* path name used to connect to proper path configed */
+	/* path name used to connect to proper path configured */
 	const char *plat_path_name;
 	struct device *dev;
 	int panel_type;
@@ -291,7 +291,7 @@  static inline int mmp_overlay_set_addr(struct mmp_overlay *overlay,
  * it defined a common interface that plat driver need to implement
  */
 struct mmp_path_info {
-	/* driver data, set when registed*/
+	/* driver data, set when registered*/
 	const char *name;
 	struct device *dev;
 	int id;
@@ -309,7 +309,7 @@  extern void mmp_unregister_path(struct mmp_path *path);
 extern void mmp_register_panel(struct mmp_panel *panel);
 extern void mmp_unregister_panel(struct mmp_panel *panel);

-/* defintions for platform data */
+/* definitions for platform data */
 /* interface for buffer driver */
 struct mmp_buffer_driver_mach_info {
 	const char	*name;