These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 1e6374c9d335647c20bcb722a6d636c518b5b2f5 Mon Sep 17 00:00:00 2001
|
|
From: Javier Carrasco <javier.carrasco.cruz@gmail.com>
|
|
Date: Sat, 27 Jan 2024 21:02:08 +0100
|
|
Subject: [PATCH] iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier
|
|
|
|
commit 6f6c72acddf4357fcc83593c20ef9064fb42db92 upstream.
|
|
|
|
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: b89710bd215e ("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>
|
|
---
|
|
include/uapi/linux/iio/types.h | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/include/uapi/linux/iio/types.h
|
|
+++ b/include/uapi/linux/iio/types.h
|
|
@@ -91,8 +91,6 @@ enum iio_modifier {
|
|
IIO_MOD_CO2,
|
|
IIO_MOD_VOC,
|
|
IIO_MOD_LIGHT_UV,
|
|
- IIO_MOD_LIGHT_UVA,
|
|
- IIO_MOD_LIGHT_UVB,
|
|
IIO_MOD_LIGHT_DUV,
|
|
IIO_MOD_PM1,
|
|
IIO_MOD_PM2P5,
|