Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2927433imm; Tue, 4 Sep 2018 12:15:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYaZ5Zqe2WR9sP1vIBJcjkOsY3zjxWHvyfNrUuvWfCzub0wnqPpTAq+7Pz7ezjbSRmc5y4E X-Received: by 2002:a62:1089:: with SMTP id 9-v6mr36303425pfq.30.1536088541798; Tue, 04 Sep 2018 12:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536088541; cv=none; d=google.com; s=arc-20160816; b=qD5gNKtUrencWp7BFQuUslgvzFO2DA7X9Ha0n8arVlIzi4dJdas8ffxI1Xex5Yz05i jj1mNnEnztBW0uB9ZjHxDt7UgNSf0JFJOq1EbFMgMeRcOXFS5mi03Zi8FUdneD9IHLdz pmU4ih8VWEFd0G4MtufyAHLkJnvryqXUJ/ZTckDXjb4iDH9SFsBL0nZwEPISTYoAJs6L l6pXO6NHsJVcF0iLP9grzhaWl6CXwgxraQGMNUHTtkUeNm3nq0RaQyGqguQEmMXsThmj N+6xEzix+E/6HbFKqX3+7N4LHhhlSkYUBTu/vAvhhPjhq9CUghZGV3Y2Djanf5p4c1p4 DvvQ== 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 :arc-authentication-results; bh=BrZdGzLPH5mBKUfddqlukNyOO8LIcMikIV/ZtArR3Iw=; b=ONhZRxQAqgMuK9sbSwtZQCqvCQ8SQhEMtt1LFOLqFHZhONxvUYw6twpo3jvE+/9V42 ALsedSUmxzMphghkRHuhPdb9U8e7HSG+U3kcXxuFDfjB/vgF/eiPuXNN4aldTjYjffJJ uyyMn5/yarL8g4WsFhjM1EY1mL2186dfeb8XjDTfLtz2wRG3GmaJ8cXwq8ANgY3iiXic vbpP4AJTPngBnYJPTU6d61dTjd5Bbi/7R2Dn5RGoP9vcchSr33DF+UhV3GQHtTB04CtW XPANAin/i1irmuqHV0IqFeymnY/cw7zVXnA+WjZ5UN2KBUEbLJ1C6fYcnr6xtsXdlYPT oj3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dFiCRi7X; 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 q9-v6si22445559pgj.134.2018.09.04.12.15.26; Tue, 04 Sep 2018 12:15:41 -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=dFiCRi7X; 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 S1727988AbeIDXkJ (ORCPT + 99 others); Tue, 4 Sep 2018 19:40:09 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:46493 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbeIDXkI (ORCPT ); Tue, 4 Sep 2018 19:40:08 -0400 Received: by mail-qt0-f196.google.com with SMTP id d4-v6so5258073qtn.13; Tue, 04 Sep 2018 12:13:40 -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=BrZdGzLPH5mBKUfddqlukNyOO8LIcMikIV/ZtArR3Iw=; b=dFiCRi7Xqni3+D5/Y20jbAzvVC12zbhZ8Ug1vS3s03B1ErZTds4qM6A8zxHB0GDLE6 s1KZH5/9L7txrXvaZeUh5xfkwLU1CBCAJlsSG5zlPj8QS36Lqhkeg0ohdaGs1y6AOoKH nrykxz3NoAdhB6155MXTKxIOQOVO/D8n8SoGBJhuAwULR2HXrTupyle1qMDrlzBIz67b 0Qch/GfHP9CVAbIhqSbyTHSpzS1K8MKK3nPsTOLnIvZvurquv0vQ/zMw+33msIq+k5kb kWWvZgZTnRivLzvjqwURQmwSVPZAP/qG8phia1oTQi0ZL47k/hBR4a0olFgDqm8UCjOJ ExBg== 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=BrZdGzLPH5mBKUfddqlukNyOO8LIcMikIV/ZtArR3Iw=; b=V1vDvMvEc49IkUYZupgH+b83gPQVMPJPgD510z9QQhpaxTmponWcLL1ImY7mpKYn0v 3zm/zp3WxWF7zF7arTgwk3oRYBVy6kZOB/Dp7/D4HS3YOpUuT5Gl19dPrWkt0Hm8QfAv BN3jx0H7QPoWjf6dJVLBOpGGk9pFzmJvMIQIu9fNiEgQNIcTPwA+O8I/WjZNNdpNfLGF BX0ZZ5lSu0O1zlSjAnMPxcsicsJd3ht+ePxlkajuv4n0RCSguWGHrmpcwiLZOM0DQLkL 9qXV0TvCjZ5kxo6Dy0h9r8pghXfauBZZFpz0P39wv068xewUOVE0qpVkPqou5WcMd3Df 4a0A== X-Gm-Message-State: APzg51AqWxoDICPUzAVSZLpNGPJStOJvlxCrJCOIewUQ1pF98j0tZXAP MaEDc0BbDXNd47H7wduQnnjWztzB0eGDlBDvO3mPt+D4 X-Received: by 2002:ac8:35b7:: with SMTP id k52-v6mr31820456qtb.141.1536088420005; Tue, 04 Sep 2018 12:13:40 -0700 (PDT) MIME-Version: 1.0 References: <20180904200434.10442-1-afonsobordado@az8.co> <20180904200434.10442-2-afonsobordado@az8.co> In-Reply-To: <20180904200434.10442-2-afonsobordado@az8.co> From: Andy Shevchenko Date: Tue, 4 Sep 2018 22:13:28 +0300 Message-ID: Subject: Re: [PATCH v3 2/4] iio: gyro: add device tree support for fxas21002c To: afonsobordado@az8.co Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , linux-iio , Linux Kernel Mailing List , devicetree 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 Tue, Sep 4, 2018 at 10:06 PM Afonso Bordado wrote: > > This patch adds device tree support for the fxas21002c driver, including > bindings. > > Signed-off-by: Afonso Bordado > +#ifdef CONFIG_OF > +#endif Please, remove this ifdef... > + .of_match_table = of_match_ptr(fxas21002c_of_ids), ...and do not use of_match_ptr() macro. This prevents to use device on embedded ACPI enabled devices, > }, > .probe = fxas21002c_probe, > .id_table = fxas21002c_id, > -- > 2.18.0 > > -- With Best Regards, Andy Shevchenko