Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2026205pxu; Sun, 13 Dec 2020 11:01:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5vrCcYV4yIJMslFBhNbRuxGxHr0ybj1SBFmpFpylCJjOm/4qu95tNiFkiglgb9Unp8AfF X-Received: by 2002:a17:906:ae0c:: with SMTP id le12mr11082887ejb.283.1607886100720; Sun, 13 Dec 2020 11:01:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607886100; cv=none; d=google.com; s=arc-20160816; b=CIsMZgIo2rpoiKu4NtIFAu++brSWUS1SMQfONFu3qZT4cSwgPt7kz/80xAab+ODrzE LfXA7rqL41meL6p8bZgHUcFlM85sNePxxbCZJ2f8peXyEbfO30NLAViYFWTLzN507yyd pnWOryGTWlPNIMF5gOYg+oEu/EC2KTJV+l2FK22n5EIzoC+2hwwBYjsW9nakqcgudIzU +tnIqOuLE5NFaNWOt59NPXJKPV5bOm5tFYANwBKwjarTFq7CwY8X0xTdOMCJZr1OveU7 g1rLpyEHeQtVdawytCodfe3UxY4YXbG+SuNRP6WF/WhFkEeEypyKhCTtD2dV65kpzySE S+xA== 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; bh=6FPOzPUqhUizvBAgHFd8TqPzrBBNtL0KlSIR+Q+RZAo=; b=czlyeGlpLRHZ2y84lFtD8BFY5caqPeDp6vlqJXALiYQcDp93dpAtB7hOJgKVcaU+Rg DfQspsdHkW0S4NUriUCSQhggbA80yDSla1bhUIn+Zfu8u/04PCtNs0xAkro4ZE2aSuuY raNQRms/iPbRaE3Kgw1e/vv5Yfa/vpGMqbZbi0z4bJGmPXveazPpp0Nz99+ZpMCE74q1 X9nKPz4Z2s296oBxM6DKuXu3kGcaQW6uV5K6HBbPc/iWBRs0NzNXfpFzqjWQRsL3i7K9 dTsiSuM2gIvNMAXxp61hxW3gJHwgXUUeGQr+0MQhNNQJC/GjNr0g5H9UfuOKFpw8xKAH k5DA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si8758826edb.419.2020.12.13.11.01.17; Sun, 13 Dec 2020 11:01:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2390486AbgLMRFl (ORCPT + 99 others); Sun, 13 Dec 2020 12:05:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:33896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726472AbgLMRFl (ORCPT ); Sun, 13 Dec 2020 12:05:41 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B2B862313B; Sun, 13 Dec 2020 17:04:58 +0000 (UTC) Date: Sun, 13 Dec 2020 17:04:53 +0000 From: Jonathan Cameron To: Andy Shevchenko Cc: Alexandre Belloni , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio , devicetree , linux-arm Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH 1/6] iio:pressure:ms5637: switch to probe_new Message-ID: <20201213170453.2de3a963@archlinux> In-Reply-To: References: <20201209234857.1521453-1-alexandre.belloni@bootlin.com> <20201209234857.1521453-2-alexandre.belloni@bootlin.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 12 Dec 2020 15:26:17 +0200 Andy Shevchenko wrote: > On Thu, Dec 10, 2020 at 2:01 AM Alexandre Belloni > wrote: > > > > Switch to the modern i2c probe_new callback and drop the i2c_device_id > > array. > > First part is okay. > The second is interesting. It depends if we would like to keep a > possibility to instantiate devices from user space (strictly speaking > it's an ABI breakage). > We've also been bitten by this recently via greybus which does it's instantiations using the i2c_device_id table as I understand it. That's resulted in us reverting a few specific cases where we'd done pretty much what you have done here. So drop that part of the change. Thanks, Jonathan