Skip to content

Commit 6f6c72a

Browse files
javiercarrascocruzjic23
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 <paul@crapouillou.net> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240127200208.185815-1-javier.carrasco.cruz@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 6db053c commit 6f6c72a

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
@@ -91,8 +91,6 @@ enum iio_modifier {
9191
IIO_MOD_CO2,
9292
IIO_MOD_VOC,
9393
IIO_MOD_LIGHT_UV,
94-
IIO_MOD_LIGHT_UVA,
95-
IIO_MOD_LIGHT_UVB,
9694
IIO_MOD_LIGHT_DUV,
9795
IIO_MOD_PM1,
9896
IIO_MOD_PM2P5,
@@ -107,6 +105,8 @@ enum iio_modifier {
107105
IIO_MOD_PITCH,
108106
IIO_MOD_YAW,
109107
IIO_MOD_ROLL,
108+
IIO_MOD_LIGHT_UVA,
109+
IIO_MOD_LIGHT_UVB,
110110
};
111111

112112
enum iio_event_type {

0 commit comments

Comments
 (0)