Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp708686rdb; Sun, 28 Jan 2024 05:42:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBxFuCt0OtOkvucfJ5/45SvxJi3PWkhAIp17rYRcXf6ecUpqp/8OLH65IwpziqSCeHkQuF X-Received: by 2002:a05:6214:e47:b0:68c:49e2:9ed with SMTP id o7-20020a0562140e4700b0068c49e209edmr780086qvc.118.1706449337841; Sun, 28 Jan 2024 05:42:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706449337; cv=pass; d=google.com; s=arc-20160816; b=ASA77bpSYcfzSQKnL2rCkm/hU5JS1XgFYN5Wd00lrU33z4QqQqQujjrp8+2b7v/e1q f7kJQPgq/ZBdxr1+EyvIcxonkLIwnc8ilTp0MnKPBu80jkDOsgaMhCtx4wW5uIET+P59 QQ6qUBhG6PQUa5q7jr0PfpX22lKA1NjDARTESsSc84MhJf/jeCw+UejdTfWHKs1c5+7h 8kX6+Whl3XycKYpckSk2K5aswhk1DCgCiP4FNEWX5y+aUtaCkYlaT+6GNwlpfviuS5uy 6710IhREQwqEF7NngcpAolEBKFZ/C4zbJLyHDgxpJUrU/Te/Q9viEb/U0+g+pO1XT6Du Mdsw== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=We+9tCMQxCzPQoTsHcLvN8Gi6J36vO4x8NYbQmWB5mQ=; fh=Al2n9cMc1/w9VaX6CN2cNmeF5J5SzslyxzCCicixNYo=; b=L6EEFXj5cAOYei2FCxm4xUW2l/N3noB1IbTnxRIM6X6NZpyLb5VOT0VAI9W7GGai5J vMj9oCJ7xu+w+VNftsOM0QkODLF4R0wNC/loJeuT8e5jNT4Wb0Yd/uyNYFk41tc4mrct W7Yj1hCL4IQUDLjIqT/eh2enssVPjjdvK+dD7fo2sa420SdMBPV4yG+oJW7nh/0s7Eq2 6oBGZ4jMW72b9xXZMNOG+gcaAusBQS15BkuHnNCfKE/w8TxaRkOYdl+xLH9YLB+ttMjT X2wtHI2SA+OPjXDdf/KPj3SJrs+mRK+zxKCJJGUHmZ11AYKBx2CCMNans1zzT5VR90hq z6vA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qh+gAG+S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gv4-20020a056214262400b0068c3abc0394si3512070qvb.405.2024.01.28.05.42.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 05:42:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qh+gAG+S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9568E1C219FA for ; Sun, 28 Jan 2024 13:42:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E21462376A; Sun, 28 Jan 2024 13:42:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qh+gAG+S" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BD8423746; Sun, 28 Jan 2024 13:42:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706449330; cv=none; b=CCkD4M4kwDHb10ykxjtzzafRdRFBKkC+qdCS8L2LbwmFKUqKo4ZrLKdtchuOSkjSa4+t1UiqDbQDj3NGmcs6EXP1n/+goZZozYZXyaVHmFN8GKE9R0ZJwNjSci6oy6hkB2jVUXRKC9dbhkZC6yyMOUSDp7FrC+gnIqPMmIYtZdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706449330; c=relaxed/simple; bh=zoqzVmA6GSns3s2tk0r/sjhN7fyHiGxTng4Rr+3BZwY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uhgf1bYEB1LveLqrI/GsGOlv40TtCbt2nWyfYF4DuZE8M5V/A82eLVsz0AaIo5dhLoAtTWJrD365lnooogHuGiFDmd/xCyxqHZ0ADDs4SZXIhdyDlbrx1x/HHGprqIT1RNAxf/zWqNK69dmXx6KJC6m7aOzRZXtV6cbQ174ajFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qh+gAG+S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF8D9C433C7; Sun, 28 Jan 2024 13:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706449328; bh=zoqzVmA6GSns3s2tk0r/sjhN7fyHiGxTng4Rr+3BZwY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qh+gAG+S9RQfu5h216l/VB2X7CdrrAAb5FDF2PGVNLWQ/LTCqwC2v6h+pHKXFJh9v WDCCUQ/Lh/+dJdaTd6S/S/HbsrorPr/QRRtP7LsEVdOVCN+HTB4a6u9tlbrqnhh1jK fHO682aEiE6FzA8mZUkMVq32xXRd3VCwLzQRcnC2mtdHU1dQivCm0FJe6maiwJiwMw gtwrKm9/ADuB04EgGl6uUeMvzRqlrhduyFKOvCl865xp0hHR4gLgeuR3G0k7fYaGLj 3B1gUqjN0bB/EaqrAkqHexX7F7E09jh9Oz2U4lK+VZ7Bqwce5OJ2OrbZoGhAPv1s2X Q3fiI8Oi4fqBQ== Date: Sun, 28 Jan 2024 13:41:35 +0000 From: Jonathan Cameron To: Javier Carrasco Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Paul Cercueil Subject: Re: [PATCH RESEND] iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier Message-ID: <20240128134057.075b23ae@jic23-huawei> In-Reply-To: <20240127200208.185815-1-javier.carrasco.cruz@gmail.com> References: <20240127200208.185815-1-javier.carrasco.cruz@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 27 Jan 2024 21:02:08 +0100 Javier Carrasco wrote: > 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 Thanks for the resend. Applied to the fixes-togreg branch of iio.git Jonathan > --- > 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 {