Message ID | 20240123-uva_uvb_fix-v1-1-5b9c25d50d90@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-35183-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp262286dyi; Tue, 23 Jan 2024 03:19:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDq1AHqXWju3BJVCOA/Rmt3fgDbdYutbEMx1epDNGG45T2N6l8Ihvf61l4XevX+bXvzDdj X-Received: by 2002:aca:1817:0:b0:3bd:a2b1:94a2 with SMTP id h23-20020aca1817000000b003bda2b194a2mr5362789oih.78.1706008788531; Tue, 23 Jan 2024 03:19:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706008788; cv=pass; d=google.com; s=arc-20160816; b=eJUNx+9K+lxBZklPymB+LbSCjpdu1NiPrQazqTqSJsfx3TplL/4LEHOrnD0IgVpah8 T7BVehNsvNgLOMP9n7OMslVYmDPmR0ykWaXAUI8dYII4MEmvIV9nupMGSaD559FteGYx eOhdacSAbeVcPERGmerL9q/OBZO/Mq9f3WNZ6U5A87B7q3jvVtLZLXIhHnl/sY99LWd4 1TXSAYnAFlnFrL79o5zY8cTg4EO5DTcu2QOE4uGPLp+O31CGS0JcEs0ALQ/zFvXjWKhz m1ytWmdiuMb1aMofnHUd0aPoY9MdKMS+VBUFY8Sxe9sleZN1wCLGDDPCsvqT6Opwx42r 39QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=o/Xcl0onVjE7Leo9ysBcPjIxgXGjF6Jy/8Rf+APk+/A=; fh=l3UfMVqs0t1xnXpNdGe8IY96l13k1RH/Xy9EsJcFvsc=; b=qzCDuFQDIRizJytCGIvOD6UsgLxt5wyHpuGT9r+5NzsfC9vFTlmLbhTyPXblc7Cn/k s6BO3Xp8sEHMBGmPL+/DXwAFf9U31v2AYDUyDInwiREjOJ19wgHTwkPzuEuGBGUnoRSE O4qpmH8ovhLE7P5LUAN54lVSPIsGyWfr9ZEfGIhZYzaL0zsmVX8gZFTNKoP5AkPOivlB z2Ymj55vTETMD5IL8Puo+vdwGgVYxvC6rjJieWOEL/8OkUdQpLRcOK6qt1kM5+Q8K28l I89HRMPdcIfsoZxQSFoZDQTrV7IYoDmE8kCxvPa8CJ7S5aRW4vhFUtp5jeABSqRLRgMl J2mw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eOlUs8aG; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-35183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35183-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bq19-20020a056a000e1300b006dbe92f12dasi2276356pfb.375.2024.01.23.03.19.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:19:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eOlUs8aG; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-35183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35183-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3D873285E3B for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 11:19:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0B095D8E3; Tue, 23 Jan 2024 11:19:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eOlUs8aG" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7221C5D727 for <linux-kernel@vger.kernel.org>; Tue, 23 Jan 2024 11:19:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706008772; cv=none; b=fubsGwuE5UaSlFzTxhRr3a8jhfASX9R6cOhGbZ6119IgSOCkRHIANynfVr0wIblyT89eQg2ebJkpbI4KHOjMo4b2+6+a6VHEin9JszbUZ1B8NwU41C3bKhHRrwp9EWbRYBrc51ApXkvYcRuOSlQ8pqZmYoSRyerZm91QcxXN0vk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706008772; c=relaxed/simple; bh=C6BsBKcktkP97lGptVkgfZZi4GPR1FFiDYW4JzJCj9s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=I/QgmQhQy0O6rloI2LzyMjmmtXMuT2VYadnl8hv+h8pd04sXI8o68XN2z6OD6EJQKe2XHKQUpAO+gHQ0zmhMq4raZs+aiJAzwkOu2/pulRyRRDEfId9ou2l0D/Iqs3SwwahoYCLYVGQ0n8CQ/tsgyJcZdvoTuNGWC9n6JOpTQ+o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eOlUs8aG; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55a9008c185so4713351a12.1 for <linux-kernel@vger.kernel.org>; Tue, 23 Jan 2024 03:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706008768; x=1706613568; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=o/Xcl0onVjE7Leo9ysBcPjIxgXGjF6Jy/8Rf+APk+/A=; b=eOlUs8aGYFW/B/f4QXfFWPgfq3QuS8kYiqRXd3cXpSqJCsAYIwWxi7R/zUqeBpTedV 7Al4CmeYn+eSvZpm6VH1sIkGYgHxHpEkSonInJ9ph2kmlUVAMC9W4qbbWqQAOCHk7/T1 G6haJebLX2pL8ct5XdQ7ttUcUrjSwZwIbAyMGUgsDI4KXp04mWM1TDLWjvW9QtjMzzT4 3axpfGHPSzByQbnyGLYLViSged/OVhOcvZBODJ5wVIwZELTFJEm1d+Tp0n04y13LCLEI 4/XEcNuomovWCtCsbfhskqGCIz9iK4m/tdEePVLx25T2qaVAs0ZipTIzn0tFVG9zumAQ ejVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706008768; x=1706613568; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o/Xcl0onVjE7Leo9ysBcPjIxgXGjF6Jy/8Rf+APk+/A=; b=NVKGLxFKWgpVq3rYVWqNyx8Swqr7wEPNb8+hoehH83+MZMCK3W+1V9nQMGvJCh/pZL osg1/NZJ6XmVG0e2GaAxUrqmnNVOy0FGsAa11ItIiuLQsTCZ8LqC+cCk3B0EG2Sxl4Wx l4yGjxbW0Au8ONXjuF2Nvc2M73ZdWvXa+0BZZ0xdbUq1JPMEaQtKva6hpWC7IgUGmN7R o76Sqg1c3R70gai0d51GiiVHKdf3if9s1zfLxBt8PoH3ORJyczgaDs/a/fmNFvigLdji jrJdp0KffNmxOYLUg/vx5rhC4v8Ak++LBVzf1+xmQdeh9kcXGJVbttk/UNSr85dV9UF6 yQ8A== X-Gm-Message-State: AOJu0YyRdIQ4vgQPsjb7oagvVe+7KDbZ29+BJZWFWaCtMq6b+ApL4b/j tfqm1YrXWkjdSHWPRIVTqBFnG0dwAO1gp9pwvCP2gH6HW5Zsl8fpHuGOLJZ3z1arXQ== X-Received: by 2002:aa7:ce03:0:b0:55c:8358:73c3 with SMTP id d3-20020aa7ce03000000b0055c835873c3mr897723edv.11.1706008768450; Tue, 23 Jan 2024 03:19:28 -0800 (PST) Received: from [127.0.1.1] (2a02-8389-41cf-e200-e5e9-d5c9-698d-8bd1.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:e5e9:d5c9:698d:8bd1]) by smtp.gmail.com with ESMTPSA id fk4-20020a056402398400b005576a384b46sm15230791edb.10.2024.01.23.03.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:19:28 -0800 (PST) From: Javier Carrasco <javier.carrasco.cruz@gmail.com> Date: Tue, 23 Jan 2024 12:19:26 +0100 Subject: [PATCH] iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240123-uva_uvb_fix-v1-1-5b9c25d50d90@gmail.com> X-B4-Tracking: v=1; b=H4sIAL2gr2UC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDQyNj3dKyxPjSsqT4tMwKXfNECwMzUwtTE0tLIyWgjoKiVKAw2LTo2Np aAK8Mi0NdAAAA To: Jonathan Cameron <Jonathan.Cameron@huawei.com>, Paul Cercueil <paul@crapouillou.net> Cc: linux-kernel@vger.kernel.org, Javier Carrasco <javier.carrasco.cruz@gmail.com> X-Mailer: b4 0.13-dev-4e032 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706008767; l=1301; i=javier.carrasco.cruz@gmail.com; s=20230509; h=from:subject:message-id; bh=C6BsBKcktkP97lGptVkgfZZi4GPR1FFiDYW4JzJCj9s=; b=Yc72VEqJM5zrpEqQmsV8U9t1eA71cJlvBYw0KeffmBNNAyCCQ7SGD+QWRUv9k0hhKwR+A/ico ce1zmXYwZtFAhamVfUBwzkEag8EZoQcKAMtSJhtpTzPsIZbG5gPMgIY X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788879871654384574 X-GMAIL-MSGID: 1788879871654384574 |
Series |
iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier
|
|
Commit Message
Javier Carrasco
Jan. 23, 2024, 11:19 a.m. UTC
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>
---
include/uapi/linux/iio/types.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240123-uva_uvb_fix-7a8065854992
Best regards,
diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h index 5060963707b1..f2e0b2d50e6b 100644 --- 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, @@ -107,6 +105,8 @@ enum iio_modifier { IIO_MOD_PITCH, IIO_MOD_YAW, IIO_MOD_ROLL, + IIO_MOD_LIGHT_UVA, + IIO_MOD_LIGHT_UVB, }; enum iio_event_type {