Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3655044rwb; Sat, 3 Dec 2022 08:22:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6+AE48934hek7/3HLn8cwR2APUWhWNiwINbS1hGPmR80vWeXJN83l8rmCobcxdOADjKjvz X-Received: by 2002:a05:6a00:21c8:b0:562:e0fb:3c79 with SMTP id t8-20020a056a0021c800b00562e0fb3c79mr56977848pfj.39.1670084559906; Sat, 03 Dec 2022 08:22:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670084559; cv=none; d=google.com; s=arc-20160816; b=XmiULuFdBi+q5Cyz8p+SD9Yqk0hr5qaawMYYVvTjLf6Dkr37zjqUgNTqJhRFgLkhee KEUin3Ry1W13N5H/hJPgcKLUyHESKBQjxkAIgB9PquvC2O9ZFwkrqYnQg83h5BL+5En5 8y5e7vw/RgnqPAzisLQ1lBY39nqvYcJyobAgHFkCyXg7/2NZUzUGVpwmenfVvzHl/JMC ccia+DGNt1caFkah+45IGT+kfb3BX+ej8eT0w/9PC/6qyMM0p9l4aPH9G3zAb7aDV/GH ebigNRbMhah0C66dxmla5T2cCkoyVvGawoTOZz/cNikRJIbfsEUGIjCMOfVN+2z1SdVg sv1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=VfCDv1yhcKEm6EeDHl2y2vJXcSx4RSQaiwZfc+ycnoY=; b=bb2Zk8ldnQvj9fA5vofRuYlI4V4eMiXCWLuRtnhOtlFe2xtVYnHG0eU5+Bfe3hTMgU euAK6Mi5rPjks1FN0ncnPUqRX9PJYJpuwc5I0gyY0zkcfYWNdYZ88+XTRD36cNEGErXd dXShkq285B5sNhYxPc5dwoZEZ8Q564s2wF7/uPLTW2ilYr7pJYA4iuHW0Mc+Bcl0gSFv jHBrLhNpuVhKTl+Q23ieiS3EiiJetDhWaYevoaE0Eu3DICkpjYBZ3/fHztOfiCc2gOxu 9bBfEAR64zUD7Rv/8w7uw9LAGbuPpmfLx+f+5zpcWrUNQo1FqCRAY6hFPCAODgCrh8iS i5ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rZxwQvjD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a63ba46000000b00476de006c26si10550850pgu.52.2022.12.03.08.22.27; Sat, 03 Dec 2022 08:22:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rZxwQvjD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbiLCQH0 (ORCPT + 83 others); Sat, 3 Dec 2022 11:07:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiLCQHZ (ORCPT ); Sat, 3 Dec 2022 11:07:25 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABCD91EAF4; Sat, 3 Dec 2022 08:07:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 43F0860B1A; Sat, 3 Dec 2022 16:07:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB2F4C433C1; Sat, 3 Dec 2022 16:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670083643; bh=Cxm5cX1/vRr6rTVftoIlwySvdfgJ/QgkmcVNP/aI/3s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rZxwQvjDdNkLrpGiIC1dofLAzcSqRi2r+jlxMyuBRKl9bCsujpO+QhkAC5XndgNh6 oz2RBT5LJwCuqzg3S1tmbbMJBgM4gkTbu5plpNTfdfjQyxy5GmNWFF/BTytFREh7ya X6w7Du1Y3o1u5XqVaHuKyebCjTCAm9GBkaXrkyBBhNFQEFr64LR7blH8/Z9Z2DAFFb BpIfc7CNKJ4VJ3Dm/ZRONw8MaKayBodAcE7llWu6FHQsD2WZ7J0YwD0oFhtYeY8q0Q 5yMWH4B6CZfP5jlgfHts1bhjUq3r4otcHjraXOUDstOe0GIfmVzwxpUSEFg6rzNRg7 vTHyQtftG4RLA== Date: Sat, 3 Dec 2022 16:20:08 +0000 From: Jonathan Cameron To: William Breathitt Gray Cc: Fabrice Gasnier , lars@metafoo.de, benjamin.gaignard@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-iio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: Removing the last of IIO_COUNT (stm32-timer-trigger) Message-ID: <20221203162008.007df587@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ... > > --- > > To conclude, there some open items here, but hopefully nothing blocking. > > In case we sort all these, this will allow to remove the IIO_COUNT > > channel (along with the IIO device) being registered. > > I'm certain Jonathan will want some sort of deprecation schedule first > to make sure any existing users have time to migrate to the Counter > interface before we remove the IIO one, but it will give me a nice > feeling of completion to see the last of IIO_COUNT superceded by the > Counter interface. ;-) If there is nothing in tree, I'm fine 'removing' it. However, note that we'll have to keep a placeholder for some of the defines to avoid renumbering other types etc. So probably just stick a couple of underscores in front to make it __IIO_COUNT and add a comment to say it should not be used. Jonathan >