Re: [PATCH] video: mmp: Few typo fixes

2021-03-23 Thread Joe Perches
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 
> 
> Acked-by: Randy Dunlap 
[]
> > 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 */




Re: [PATCH] video: mmp: Few typo fixes

2021-03-22 Thread Randy Dunlap
On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote:
> 
> s/configed/configured/
> s/registed/registered/
> s/defintions/definitions/
> 
> Signed-off-by: Bhaskar Chowdhury 

Acked-by: Randy Dunlap 

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


-- 
~Randy



[PATCH] video: mmp: Few typo fixes

2021-03-22 Thread Bhaskar Chowdhury


s/configed/configured/
s/registed/registered/
s/defintions/definitions/

Signed-off-by: Bhaskar Chowdhury 
---
 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;
--
2.31.0