2021-03-22 13:20:01

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] video: mmp: Few typo fixes


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

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
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


2021-03-22 19:39:24

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] video: mmp: Few typo fixes

On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote:
>
> s/configed/configured/
> s/registed/registered/
> s/defintions/definitions/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

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

2021-03-24 09:47:17

by Joe Perches

[permalink] [raw]
Subject: Re: [PATCH] video: mmp: Few typo fixes

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 <[email protected]>
>
> Acked-by: Randy Dunlap <[email protected]>
[]
> > 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 */