Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1934266ybp; Sat, 12 Oct 2019 00:41:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqykJiMKevloYNrqsO9JOwW2SwwdSvwrmEjn7jHS2bwqIEN+tr1J1HfQt3iSf5/tSAB44tmr X-Received: by 2002:a17:906:6d89:: with SMTP id h9mr17471371ejt.169.1570866063771; Sat, 12 Oct 2019 00:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570866063; cv=none; d=google.com; s=arc-20160816; b=AZ4tilhKwRBGKhWt+Vc7P7qzkdFpe0Cq16A+TWznFagF58agA7WU2knDZFsJ6QdwVm jxag0zwyb16A8wj5fQ2JvQL2c7m3VM56Jw1R/Ko3ZzMJ1WPB35+Ob6TIzPDDn9gxAlW/ aV/IPRexcQA5XJeYXtWHXeXOjghbYrB/GkXOHSiVYu4583bWxAJXenEHhff5FqAeS6ON MNhbOnRPJD4H8JJv994aS98Fr1Zabx6qfw25BzRc8JzDMpkM1nt34MygvJeQDgAWn3Fj y/KaEyIWSBOAmeSw16Ppe74uecdngoiqpRXkabuyyn1RIQWPlUOqx83rxQoYWZK1T9Ti gZNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=G4TDuPQi287pEOKB5KDxBxduuED1DoZ5ekjPeswwjz8=; b=bdh2deirH2g44wMGS18Bd/+ggbPBec3HQZjemYvge8fbqRz7MK434EFa5nKDJeFSlP zs5Y81iJHH11nnvLsLs8nJs3hwlInRBmP+9TMFy0aZglV6X3FI5sMezDwVDI+aGBCeJg B930S4V/Xre/8+Sbkm5sQ15sVvS/Tm6XkC1/QC8b1AZUKBV7pfFDRZaEbZvTMkNtPSv2 f6BTjMIX/np6AflRq3MOniP/4Yr0r9ai0vLoXTkDMThNMKJG928KfDA+XkhWv0xcodUG hXRENogeb/HZcP+m0cLE759iyhIbI6X62/9N0Hn9NSwt5KT1n0mKXQgmJstAmmtRClYy 6+Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LsKM1f3F; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si6862884eja.146.2019.10.12.00.40.39; Sat, 12 Oct 2019 00:41:03 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LsKM1f3F; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728446AbfJLHkI (ORCPT + 99 others); Sat, 12 Oct 2019 03:40:08 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33201 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbfJLHkH (ORCPT ); Sat, 12 Oct 2019 03:40:07 -0400 Received: by mail-pg1-f196.google.com with SMTP id i76so7098975pgc.0; Sat, 12 Oct 2019 00:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G4TDuPQi287pEOKB5KDxBxduuED1DoZ5ekjPeswwjz8=; b=LsKM1f3FbF6OHL1tNl/PxgPPPztiIcuum+4w1rji5Yk8tqvR3cQRcmFt/lBOzvkiok wR8RTuoEuLBZs2R4QWBcCQlm+IABIX5BrEQKwMbZkmiL65Y9dBhFua9TqyxCCOhjPkw+ K0DzvrTIvi+buWy+H9Hi3MRGXUfq6hGlO6Jxu3LUJfVjw0A4XoTW6bzefZu8gKm/AVrZ 7VHZZo77uxQ8RAWkloEDgL3/zIa1FXuMeh2VSWsZG20L3TQsg49NbVsvhuSp1H5ExlqI 3pHMuJtd6JWUtrouisaTk1KU2C172bmFuNHjRCtrgucss5q/8pAkLPAHNoX0PMQXK5A/ OdeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G4TDuPQi287pEOKB5KDxBxduuED1DoZ5ekjPeswwjz8=; b=fetXoQaEgALCAVjJUyQAYC2N2fJD35dSP/ym+cF6ghNqdbA0bi72vXU2iW5O67RAjD ClQBP0ncK/FuK8KJN8e4HmupLC56oUb/bcFw5jHvNV+QVHHKsEFLLuo7hNtzFMeg/Vsc 74Km2zKV1wcFEQSUuUch+o9Z/FAmT9ydrQQ6B4YtS7P/AV3X2DLQdEFBKVzfOfmqTZJx Vb2HNF+JoNY/ZWD7PTMp7GFqq1VOGGBzAmG0WdCW+fmJw6In136hf83M/gCSfAnVenHi NOKNm30zjrOeAVQFip+rZDmUPOp3qVNg/TybreXG2qAsXyv4eO6nPRgdiWvgq3n3u47P kpjA== X-Gm-Message-State: APjAAAWUNAJLDmhorgfL/hG+o9plAjHB0urrj4IWblvhuIdePkI0rtYw fWg8yA3I+6CPz2OYfEh+fXHhaVs644Dv/pmNbhM= X-Received: by 2002:a17:90a:b391:: with SMTP id e17mr23177858pjr.132.1570866006928; Sat, 12 Oct 2019 00:40:06 -0700 (PDT) MIME-Version: 1.0 References: <20191012035420.13904-1-dan@dlrobertson.com> <20191012035420.13904-3-dan@dlrobertson.com> In-Reply-To: From: Andy Shevchenko Date: Sat, 12 Oct 2019 10:39:54 +0300 Message-ID: Subject: Re: [PATCH v2 2/2] iio: (bma400) add driver for the BMA400 To: Randy Dunlap Cc: Dan Robertson , Jonathan Cameron , linux-iio , Peter Meerwald-Stadler , devicetree , Hartmut Knaack , Rob Herring , Mark Rutland , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 12, 2019 at 10:07 AM Randy Dunlap wrote: > On 10/11/19 8:54 PM, Dan Robertson wrote: > > +config BMA400_I2C > > + tristate > > + depends on BMA400 > > + depends on I2C > > + select REGMAP_I2C > > + > > The bma400_i2c driver seems to use some OF interfaces. > Should it also depend on OF? Please, avoid unnecessary and strict dependencies when it's limiting the area of use the driver. The driver does not depend to OF. Why to stick with OF? The actual change has to be done is to switch from > #include to #include -- With Best Regards, Andy Shevchenko