Message ID | 39375dd8cf48aabdc30c6bca67adc38887fd03cf.1617776878.git.pavle.rohalj@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | *** SUBJECT HERE *** | expand |
On Tue, Apr 06, 2021 at 11:36:21PM -0700, Pavle Rohalj wrote: > Fix "Avoid CamelCase" checkpatch.pl check for the function parameter > powerMode of function sm750_set_power_mode. > > Signed-off-by: Pavle Rohalj <pavle.rohalj@gmail.com> > --- > drivers/staging/sm750fb/ddk750_power.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/sm750fb/ddk750_power.h b/drivers/staging/sm750fb/ddk750_power.h > index 4756db1ccb9c..d43942d6a5aa 100644 > --- a/drivers/staging/sm750fb/ddk750_power.h > +++ b/drivers/staging/sm750fb/ddk750_power.h > @@ -15,7 +15,7 @@ enum dpms { > } > > void ddk750_set_dpms(enum dpms state); > -void sm750_set_power_mode(unsigned int powerMode); > +void sm750_set_power_mode(unsigned int power_mode); This should just be "mode" to match the function. Anyway, I just realized now that I'm somehow reviewing ancient patches so I'm going to stop. regards, dan carpenter
diff --git a/drivers/staging/sm750fb/ddk750_power.h b/drivers/staging/sm750fb/ddk750_power.h index 4756db1ccb9c..d43942d6a5aa 100644 --- a/drivers/staging/sm750fb/ddk750_power.h +++ b/drivers/staging/sm750fb/ddk750_power.h @@ -15,7 +15,7 @@ enum dpms { } void ddk750_set_dpms(enum dpms state); -void sm750_set_power_mode(unsigned int powerMode); +void sm750_set_power_mode(unsigned int power_mode); void sm750_set_current_gate(unsigned int gate); /*
Fix "Avoid CamelCase" checkpatch.pl check for the function parameter powerMode of function sm750_set_power_mode. Signed-off-by: Pavle Rohalj <pavle.rohalj@gmail.com> --- drivers/staging/sm750fb/ddk750_power.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)