All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Marcus Folkesson <marcus.folkesson@gmail.com>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: dac: ti-dac5571: provide of_match_table to driver
Date: Sat, 25 Aug 2018 10:04:23 +0100	[thread overview]
Message-ID: <20180825100423.779386be@archlinux> (raw)
In-Reply-To: <20180824202459.21855-1-marcus.folkesson@gmail.com>

On Fri, 24 Aug 2018 22:24:59 +0200
Marcus Folkesson <marcus.folkesson@gmail.com> wrote:

> Use the created list of of_device_id's as a match table.
> 
> Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Applied to the togreg branch of iio.git and pushed out as testing for the
autobuilders to play with it.

Technically this isn't a regression as it will fall back to the oldschool
i2c matching (which hasn't gone away yet).  Hence I don't plan to send it
as a fix during the cycle.

Jonathan

> ---
>  drivers/iio/dac/ti-dac5571.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c
> index e39d1e901353..f6dcd8bce2b0 100644
> --- a/drivers/iio/dac/ti-dac5571.c
> +++ b/drivers/iio/dac/ti-dac5571.c
> @@ -421,6 +421,7 @@ MODULE_DEVICE_TABLE(i2c, dac5571_id);
>  static struct i2c_driver dac5571_driver = {
>  	.driver = {
>  		   .name = "ti-dac5571",
> +		   .of_match_table = of_match_ptr(dac5571_of_id),
>  	},
>  	.probe	  = dac5571_probe,
>  	.remove   = dac5571_remove,

      reply	other threads:[~2018-08-25 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-24 20:24 [PATCH] iio: dac: ti-dac5571: provide of_match_table to driver Marcus Folkesson
2018-08-25  9:04 ` Jonathan Cameron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180825100423.779386be@archlinux \
    --to=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcus.folkesson@gmail.com \
    --cc=pmeerw@pmeerw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.