Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2270753ybb; Sat, 21 Mar 2020 17:34:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt+7Wsn1T7ZhOzCPT8LnjW7xYiTJ5Qa/vb8vDYYEAH7enhv9Ha8AHQ6W/SDefVTdyzz3a2/ X-Received: by 2002:a9d:65c4:: with SMTP id z4mr12738147oth.51.1584837276829; Sat, 21 Mar 2020 17:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584837276; cv=none; d=google.com; s=arc-20160816; b=U28YT1eT11ezLSzS5cRXXv8iwMHQbnGCG3NniqpL5nTSLswP+VE2JXw+mgrORkFeMf v/c2f1uQ07aCvdxbt7NWpVai/yDQ7KQp2meolcyIrd8zKpcCjgqIfka7LAWoctFp+x6W XmwOmhZrBLUsIbZ6K4m5UY7+h6GHE2F6CZO/iAtYuabsSZaYjQgUGzTz2pilxJ5XlwbO WFwNm2xW5JZFtjCWoh2E9s6dTyA9jleHqplVgO5+ZyN3/laeiMQM7vJQoNoksVXWzw6+ EXiAEwZv7IhexmZy1UDA4h6HojZOdvOOo9jDV00qCVZPBnyph9/p30RMR4gjmjKondoX 1UjQ== 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=7vtokbDa+jk1IkonfP+8mmd2hW8UtwtfycemouqpA58=; b=IaFjj2ZpCDI/YCYEvhwl/khU3m5Rl/yS6vgXfqfv/nM8K5sEW5h/q+6vNXebV/vG0N zQZK7J27IUKTkwa9xV58x8NxBaBcl+QOccV/kl7/Qe3Mxumrci/5YTSuvLlUbkgM+p5h YmXcdosBwlFnbbMpr4ik1McTNG+lB9Ur8mJHfc7cn11eZDikvZRykLGgFA3vY0h6IEfa RgYHW6x2w97D4SsNkuc3Mmnssui6TSJbWVyb62pe8yHgsC0JsFJcQpYVwy//ReMrmkxL 7b+1B7WmAKePp8Rzz1WQzf1FuaaR+EoLa+VpOxxJMW8C18WfSJvFlpdtANS7rpJGIJXS ZF3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oQWBdTR+; 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 m9si2879391otk.276.2020.03.21.17.34.24; Sat, 21 Mar 2020 17:34:36 -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=oQWBdTR+; 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 S1728237AbgCVAdu (ORCPT + 99 others); Sat, 21 Mar 2020 20:33:50 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42311 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727296AbgCVAdt (ORCPT ); Sat, 21 Mar 2020 20:33:49 -0400 Received: by mail-pl1-f193.google.com with SMTP id t3so4217759plz.9; Sat, 21 Mar 2020 17:33:49 -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=7vtokbDa+jk1IkonfP+8mmd2hW8UtwtfycemouqpA58=; b=oQWBdTR+X3bLAxH7mWuUmReG4nhWYPsCJk2Z1KIJm8pHRtvh5jWm8LCHAns4W69yk3 qlDuhUFe3djichyEuX9Ap/QLBV5CVQRsLqUu+r85O55n+4zAX0S1jBw7IsdEOkdtMr4F kp9bsXMnc96iuLEWbEvLltzdHxqS/076V7mHJ9xJvlNyX3aWK0x7J78P25xCuPWtRYxM kGDJt+EHiU2gafP0Ig+PBTjbXLA6pa8KH0e44VjPBbwv4VGtvLHe5MgJ2RcpIqHeod84 uiHS5dbbANbeSkyVUs9t1zVZCkWZb+x4q3iJrhWWAiCGFV1CJoPgiqFMLG5Hg3gTqtz1 BVwQ== 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=7vtokbDa+jk1IkonfP+8mmd2hW8UtwtfycemouqpA58=; b=mffB+HxHew0JD5W+DdztyLL2xSKTqTAxwaVMBqgC1n5i78NYeDMdPMbAkazpZFT17A K3nnU/ZgC5nM6tNx9jlnypz4+EXudSQWB60nlMetty9qdQd+5zZo7HOUQgVlJwsU6OJc Myk/zXAMHlBs6bz3DiQ2nisgtD086QtmEjiGrlf2G3EdhYRfOmemP9cta9O0vjvr77dy vBgerx0hIMjGF/B5edeRXofi86V/UJ8ne24gCfWlqePfFK3ASFhPETsK1h6FGuxVJIhU UaEsTJWcAV0aIWVpEV2xMMTywR7dc4W1wuZwcVjKxQvCcIHzkN7e+mqxCLG+GPpfvvef tdwQ== X-Gm-Message-State: ANhLgQ37M/iCo0C/r8c+9ans7fu+5bSpcljLgTyfg2yJpMZza0vtV2fy uzdZPC3xIDmITfLy3XZlMwDO7exqHRdTBKla8Cs= X-Received: by 2002:a17:902:8d92:: with SMTP id v18mr15819898plo.18.1584837228226; Sat, 21 Mar 2020 17:33:48 -0700 (PDT) MIME-Version: 1.0 References: <20200318153434.62833-1-michael.auchter@ni.com> <20200318153434.62833-2-michael.auchter@ni.com> In-Reply-To: <20200318153434.62833-2-michael.auchter@ni.com> From: Andy Shevchenko Date: Sun, 22 Mar 2020 02:33:37 +0200 Message-ID: Subject: Re: [PATCH 2/3] iio: dac: ad5686: add of_match_table To: Michael Auchter Cc: Lars-Peter Clausen , Michael Hennerich , Stefan Popa , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Linux PM , linux-iio , 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 Wed, Mar 18, 2020 at 5:56 PM Michael Auchter wrote: > > Add of_match_table to this driver, so devices can be probed based on > device tree contents. > + .of_match_table = of_match_ptr(ad5686_of_match), There is no need to use of_match_ptr(). Didn't you get a compiler warning for !OF case? -- With Best Regards, Andy Shevchenko