diff options
author | Simon Sandström <simon@nikanor.nu> | 2017-12-06 01:08:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-06 18:03:52 +0300 |
commit | d423c80929ba56c67a6eefc7653edd87f4ca3abe (patch) | |
tree | f0df2de1f52bcc0f36894f0e4d015ec019fa7ef2 /drivers/staging/pi433/rf69_enum.h | |
parent | 5e656e35129a34d368087cd7d6a6fd1200299f6a (diff) | |
download | linux-d423c80929ba56c67a6eefc7653edd87f4ca3abe.tar.xz |
staging: pi433: Rename enum optionOnOff in rf69_enum.h
Renames the enum optionOnOff and its values optionOn, optionOff to enum
option_on_off and OPTION_ON, OPTION_OFF. Fixes checkpatch.pl warnings:
"Avoid CamelCase: <optionOnOff>, <optionOn>, <optionOff>".
Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433/rf69_enum.h')
-rw-r--r-- | drivers/staging/pi433/rf69_enum.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index babe597e2ec6..5247e9269de9 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -18,9 +18,9 @@ #ifndef RF69_ENUM_H #define RF69_ENUM_H -enum optionOnOff { - optionOff, - optionOn +enum option_on_off { + OPTION_OFF, + OPTION_ON }; enum mode { |