Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp417364rdb; Sat, 27 Jan 2024 12:02:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUmlo/OmE8yKnIivgtMG8lJvaEzDr32VVUJvwD1yCwSDbjoVDXF3SijH2RdExLdtwWZliT X-Received: by 2002:a17:906:da03:b0:a31:543b:1279 with SMTP id fi3-20020a170906da0300b00a31543b1279mr1559421ejb.76.1706385760108; Sat, 27 Jan 2024 12:02:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706385760; cv=pass; d=google.com; s=arc-20160816; b=X3BY68jDyNjAMPSz7uVocQUQSOGFygtyfeT4BqkqJ2mnpQlauPjGLa5Vg+aZzmHpGe /VTuDuugB/W0H0SdSGS8SU1Q7NOObpo34lINp/MlUv+G+4qOIAdM41R0eUwUW6AhaPb7 65rlATsVbXBH0h+TQK4pQd+GVDbTDk9Cgsekwc/f1vq8bAX+7u7xFVgdv3dqviBOk1lu Avdick+cG173d6gADfoYO7vMC4RRrxGTSGLrj9Vr1mLMh07F1i5/5tPw8Xg2sgXbYxI7 r6aqw1inliJCSIiI1lSXJgJxIszoJw8r2WF5irvfCiBW/Y8GWe5Ceqohig/M+kZRPhYc k6Dg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=JDAwcXby0TIXFi0hTAuv1aAUwkqAC2wW0u4vJQk0oic=; fh=iJqKNTvMTe8FgfFBvSd2gc4IGMY49jah0c0n2Qrh92U=; b=br/ohChUQN7DoUFpzCkbPZ7b4oqEHo0Yer3+6C/zg/uzk9T5KQDibhlSHoAnsdnVbn XoO7ZtWL0k+PIhN7R9QodCeRKNfBOLrRs0LzEK2K8Qh1yJ+iQLXp43CDpRPyfMcNUnue aRDYEPhlY7sFhIC+1Rg5WEtLSSMqi1/iBibGf4zsv9N8YX3ByYH4fZ01PS1+SqDBOvgz yczaGQBkyuyGyeCZIKILzT8dLPz/6/Di+AKeTz9wfAf0cZC6XJ6oChsJAPhtHoEvZs5L JFpamqI/W//Ad+nj4aFJfjv5vPUvuJjIVqJ/VvGUQOyrG5Gr6Q55q+j8QE8EN1MvfjIO QicQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZEcSyy0R; 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-41386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gw14-20020a170906f14e00b00a2c56489136si1746440ejb.951.2024.01.27.12.02.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 12:02:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZEcSyy0R; 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-41386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41386-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D5B781F2239B for ; Sat, 27 Jan 2024 20:02:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFBDB2E64B; Sat, 27 Jan 2024 20:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZEcSyy0R" Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 539A52EB0A; Sat, 27 Jan 2024 20:02:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706385751; cv=none; b=r9sNoBGMXhCTRPI/p66o9+BI4uxES1XgnYH5fWpiF/Hw8d8mre8TDTV3uNvDwKz+TnIS/XymWsnrxVZqeI/mHZh/Qp0Odl9gSbfQtS7sP4yhlwrzxbffqHJB7vvtgfhuB9LzfdOJnmqExgHdmt69Ch/K1AvPOP3a5JskLpTEpi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706385751; c=relaxed/simple; bh=pyVigDj7XXFmAYV8yaSMV6NWrtFthJpHm91q/W6OcRo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=sfVhNNwLJZbHV3ddbhgsr5kJ0zFWMmlfqTCc0kqsXxCN1VgkJo3nJEKgNvYmSlHBj/HzH11gBGW7nM06lMTIEIv4KoGKGghGV5N8UyvCriphPF1SF5NQYbld4QvICXKX15W6PYNOiiOB2sxMwG/Or4jsi013BjBXm+F17J1hGn0= 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=ZEcSyy0R; arc=none smtp.client-ip=209.85.221.54 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-wr1-f54.google.com with SMTP id ffacd0b85a97d-33ae3cc8a6aso606050f8f.2; Sat, 27 Jan 2024 12:02:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706385748; x=1706990548; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JDAwcXby0TIXFi0hTAuv1aAUwkqAC2wW0u4vJQk0oic=; b=ZEcSyy0RL46NmWUuc5SGm+HtGO/UBcgEbKOSVfJQUlU66szJKhfuCDy5yIlo3UU2zN T/vy3jW05rVfIrMo4iKqKfXoyrL7um/ZucUYniftNJGQlZyofSz8dsFtll3J5ju6Ehvw l97OSbPrIuW2CLuF9BUrQu8Qoxc3p4Ro5MfWenkCcGtsxEv+CuJAnIHJ/pdejEV2r9FJ 7vm+sgy52ixtKjrEPRvq/6/QiloNmZ7VW92LH5J747zr/DMMWM0Z4ZGnc0Pb3vYWJA3/ Y2QOjfcftlkhRCymp7hZilrH1joCqFTCFE8LW41Jf0G/jqpaYfCS0Mckh4+vAMpCHtNU bEsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706385748; x=1706990548; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JDAwcXby0TIXFi0hTAuv1aAUwkqAC2wW0u4vJQk0oic=; b=k2i0CCMO7KfcuLn5lzsKdcrkarEOiPRwCzn8UM2PgiT8M3dtSDCJr3vAAADyG2JDNn 2aNn0GDxYYioImjgNv0K6PoQIh9vJZ2X56Ve/vOSl1N5HtDi2TN0ptmC8rSszaUBH/pV CQrK/2z5G7n1Dw7fHb0j3dD469S0AVOeNq/B3wjAEbOhv9VkB/c2bgkCPXWLNa6azX7N YuD853c1Y2+IHJJKUjnCCmEgrUm5Ur/KdDWGm+H45g4bWSveOFT996oRZc0opcr7crwY GfaTC03ZrXUG6Nbi1OKOqS3uSKjemtcwTZ46gBYgOudqGuih6kUdJVaIoTZohOxoiQ1Z HZaA== X-Gm-Message-State: AOJu0YyDdZR5PwFgtYuPRqciV/wQcCkJ8QRVMYVgtVpbj0DRgXAum97E BZsTNAU0JtY3ygYGGXxnWCsS2WtCsaNNl2/AFdtDwPuTKceIs1b8vBjxi9YnU8Jr2Q== X-Received: by 2002:a5d:4e0a:0:b0:337:b02a:3f6b with SMTP id p10-20020a5d4e0a000000b00337b02a3f6bmr1635534wrt.48.1706385747833; Sat, 27 Jan 2024 12:02:27 -0800 (PST) Received: from AT01MCL012.. (2a02-8389-41cf-e200-4080-59f1-b398-a889.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:4080:59f1:b398:a889]) by smtp.gmail.com with ESMTPSA id ds8-20020a0564021cc800b0055c9280dc51sm1909340edb.14.2024.01.27.12.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 12:02:27 -0800 (PST) From: Javier Carrasco To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Paul Cercueil , Javier Carrasco Subject: [PATCH RESEND] iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier Date: Sat, 27 Jan 2024 21:02:08 +0100 Message-Id: <20240127200208.185815-1-javier.carrasco.cruz@gmail.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Javier Carrasco --- include/uapi/linux/iio/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2