Message ID | 1434540288-8289-10-git-send-email-sudipm.mukherjee@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Jun 17, 2015 at 04:54:48PM +0530, Sudip Mukherjee wrote: > Fix the checkpatch warning about CamelCase. > > Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> > --- > drivers/staging/sm7xxfb/sm7xx.h | 2 +- > drivers/staging/sm7xxfb/sm7xxfb.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h > index fc28429..4bed094 100644 > --- a/drivers/staging/sm7xxfb/sm7xx.h > +++ b/drivers/staging/sm7xxfb/sm7xx.h > @@ -98,7 +98,7 @@ static inline unsigned int smtc_seqr(int reg) > /* The next structure holds all information relevant for a specific video mode. > */ > > -struct ModeInit { > +struct modeinit { struct mode_init is easier to read. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h index fc28429..4bed094 100644 --- a/drivers/staging/sm7xxfb/sm7xx.h +++ b/drivers/staging/sm7xxfb/sm7xx.h @@ -98,7 +98,7 @@ static inline unsigned int smtc_seqr(int reg) /* The next structure holds all information relevant for a specific video mode. */ -struct ModeInit { +struct modeinit { int mmsizex; int mmsizey; int bpp; diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 24688a3..b906305 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -114,7 +114,7 @@ static const struct vesa_mode vesa_mode_table[] = { /********************************************************************** SM712 Mode table. **********************************************************************/ -static const struct ModeInit vgamode[] = { +static const struct modeinit vgamode[] = { { /* mode#0: 640 x 480 16Bpp 60Hz */ 640, 480, 16, 60,
Fix the checkpatch warning about CamelCase. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> --- drivers/staging/sm7xxfb/sm7xx.h | 2 +- drivers/staging/sm7xxfb/sm7xxfb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)