Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp809789imm; Wed, 4 Jul 2018 06:25:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjzCPimLhujqRAbd06yv3dZt8/bbh63K51xsgbYN2lcUlGVvj7UsMb1bOR0x5mKM31mBsJ X-Received: by 2002:a63:ff4d:: with SMTP id s13-v6mr710315pgk.150.1530710712970; Wed, 04 Jul 2018 06:25:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530710712; cv=none; d=google.com; s=arc-20160816; b=PIjoMJrUuzeZTwIIPH9CCIi7L65r/J2AJnB9kpz5V3F7el3mJ4ry+JpA4U9L0A/9Cf OsyOdjmUUVGnkbxAEGaL7B6hpH7JW9cPR1XFH5hUys3uoFcz0YqwC2wjpNJKiurn22RA dVDWkcFEdSlkV5dNGGxuaknE22+5Bs7I+Hbg822ePR36SjVkGE3OrHYnwxv82GUEfqzI d/rhc7bH8w01Zmn8aIZ/ADE6bikPRZWjf9trycmuEuGgrvW/e1p/bGm7T6GzSMF2hBxm FO3yQSOPicOgwAuUzexbJh3bU8RC3kPxPr+tzFo9i47PGK5qDp9+uePL5srSH4dqzqNG mxyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=P4/ntXNLUPBbHCIW+NIR5jclYyC7W7NJfMZk5ShP0RI=; b=YM0qgmVgGCRm553BYP9+sEoF4O0UnsYrhedgEj6fCKuJiyBZgQ5ww730GjyGNessnP WBTyvptQ/0TGo+boVmQJu64rQykI8iOelx8E2+mAg9ct7TZgTAWGdG/E5YUWSc6Rpd/D QtwReMu4nMQhpvnTNZPHesnIR68x+bLR17ahlCMbxcI38piTInOp+9mxzK08oC5rqdiN fzE23nN1IgVGb5076Qyt69V63ypgXWxZr1Ysp98rWS+QQqGihOfKWaO+j4bdaV2h9JVo 8zHqHvDg7O+0liL1p77iewVD/iSZrQf7FYHAF914lrCm/UzdZh4USJQQaB+zkxh845Q0 dL2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g20-v6si881482pgb.239.2018.07.04.06.24.58; Wed, 04 Jul 2018 06:25:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753002AbeGDNYJ (ORCPT + 99 others); Wed, 4 Jul 2018 09:24:09 -0400 Received: from mail.steuer-voss.de ([85.183.69.95]:45472 "EHLO mail.steuer-voss.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758AbeGDNYI (ORCPT ); Wed, 4 Jul 2018 09:24:08 -0400 X-Virus-Scanned: Debian amavisd-new at mail.steuer-voss.de Received: by mail.steuer-voss.de (Postfix, from userid 1000) id C46D941C87; Wed, 4 Jul 2018 15:24:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.steuer-voss.de (Postfix) with ESMTP id C153841C41; Wed, 4 Jul 2018 15:24:03 +0200 (CEST) Date: Wed, 4 Jul 2018 15:24:03 +0200 (CEST) From: Nikolaus Voss X-X-Sender: nv@fox.voss.local To: Javier Martinez Canillas cc: Javier Martinez Canillas , Andy Shevchenko , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Lorenzo Bianconi , Linus Walleij , Xiongfeng Wang , linux-iio , Linux Kernel Mailing List Subject: Re: [PATCH v2 2/2] IIO: st_accel_i2c.c: Use probe_new() instead of probe() In-Reply-To: Message-ID: References: <10258a21-db42-2c4e-91d6-e9227e11f53b@redhat.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Jul 2018, Javier Martinez Canillas wrote: > On Wed, Jul 4, 2018 at 2:31 PM, Nikolaus Voss > wrote: >> On Wed, 4 Jul 2018, Javier Martinez Canillas wrote: >>> >>> On Wed, Jul 4, 2018 at 1:46 PM, Nikolaus Voss >>> wrote: >>> >> >> [snip] >> >>> But this discussion isn't really related to your patch. I think is >>> correct but just said that (b) wasn't a justification to leave the I2C >>> table, points (a) and (c) are though. I won't really be convinced that >>> the fallback is the correct thing to do or even a good idea. >> >> >> I didn't want to annoy you, I just wanted to understand why you think >> fallback is such a bad thing that you call it a bug. And I see, it has its >> drawbacks ;-). Anyway, thanks for taking the time to clarify this, >> > > Oh, I'm not annoyed, sorry if I sounded that way. What I tried to say > is that I've a strong opinion on this and won't be convinced otherwise > :) > > So for me is a bug because that would mean that either an entry is > missing in an OF device table or a DTS has a node with a compatible > string without a vendor prefix. Yes, I see your point (and your strong opinion :-)), but AFAIK vendor prefix is not mandatory... At least for vendor-agnostic drivers like "regulator-fixed" (very popular in dts files). My point is not bloating drivers with large redundant (from a driver-functional view) tables when one table could be enough for a properly working driver. Having three different names for exactly the same isn't very beautiful IMO. I hope you're still not annoyed... Niko