Skip to content

Commit 21d94d7

Browse files
javiercarrascocruzpelwell
authored andcommitted
iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier
The new modifiers should have added to the end of the enum, so they do not affect the existing entries. No modifiers were added since then, so they can be moved safely to the end of the list. Move IIO_MOD_LIGHT_UVA and IIO_MOD_LIGHT_UVB to the end of iio_modifier. Fixes: b89710b ("iio: add modifiers for A and B ultraviolet light") Suggested-by: Paul Cercueil <[email protected]> Signed-off-by: Javier Carrasco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 671c830 commit 21d94d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/linux/iio/types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ enum iio_modifier {
8787
IIO_MOD_CO2,
8888
IIO_MOD_VOC,
8989
IIO_MOD_LIGHT_UV,
90-
IIO_MOD_LIGHT_UVA,
91-
IIO_MOD_LIGHT_UVB,
9290
IIO_MOD_LIGHT_DUV,
9391
IIO_MOD_PM1,
9492
IIO_MOD_PM2P5,
@@ -103,6 +101,8 @@ enum iio_modifier {
103101
IIO_MOD_PITCH,
104102
IIO_MOD_YAW,
105103
IIO_MOD_ROLL,
104+
IIO_MOD_LIGHT_UVA,
105+
IIO_MOD_LIGHT_UVB,
106106
};
107107

108108
enum iio_event_type {

0 commit comments

Comments
 (0)