From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27F99C433FE for ; Sun, 13 Dec 2020 17:05:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D7F492313B for ; Sun, 13 Dec 2020 17:05:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726884AbgLMRFl (ORCPT ); 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: devicetree@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