All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Nishant Malpani <nish.malpani25@gmail.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
	alexandru.Ardelean@analog.com
Subject: Re: [PATCH 1/3] iio: accel: dmard06: Use mod_devicetable.h and drop of_match_ptr macro
Date: Sat, 25 Apr 2020 15:35:57 +0100	[thread overview]
Message-ID: <20200425153557.7bf03b2a@archlinux> (raw)
In-Reply-To: <20200424224439.5601-2-nish.malpani25@gmail.com>

On Sat, 25 Apr 2020 04:14:37 +0530
Nishant Malpani <nish.malpani25@gmail.com> wrote:

> Enables ACPI DSDT to probe via PRP0001 and the compatible property.
> 
> Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>

Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.

Thanks,

Jonathan

> ---
>  drivers/iio/accel/dmard06.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/dmard06.c b/drivers/iio/accel/dmard06.c
> index 2bf210fa4ba6..ef89bded7390 100644
> --- a/drivers/iio/accel/dmard06.c
> +++ b/drivers/iio/accel/dmard06.c
> @@ -6,6 +6,7 @@
>   */
>  
>  #include <linux/module.h>
> +#include <linux/mod_devicetable.h>
>  #include <linux/i2c.h>
>  #include <linux/iio/iio.h>
>  
> @@ -226,7 +227,7 @@ static struct i2c_driver dmard06_driver = {
>  	.id_table = dmard06_id,
>  	.driver = {
>  		.name = DMARD06_DRV_NAME,
> -		.of_match_table = of_match_ptr(dmard06_of_match),
> +		.of_match_table = dmard06_of_match,
>  		.pm = DMARD06_PM_OPS,
>  	},
>  };


  reply	other threads:[~2020-04-25 14:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 22:44 [PATCH 0/3] iio: accel: Abandon of_match_ptr macro Nishant Malpani
2020-04-24 22:44 ` [PATCH 1/3] iio: accel: dmard06: Use mod_devicetable.h and drop " Nishant Malpani
2020-04-25 14:35   ` Jonathan Cameron [this message]
2020-04-24 22:44 ` [PATCH 2/3] iio: accel: kxsd9-i2c: " Nishant Malpani
2020-04-25 14:36   ` Jonathan Cameron
2020-04-24 22:44 ` [PATCH 3/3] iio: accel: mma8452: Drop " Nishant Malpani
2020-04-25 14:35   ` Jonathan Cameron

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=20200425153557.7bf03b2a@archlinux \
    --to=jic23@kernel.org \
    --cc=alexandru.Ardelean@analog.com \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nish.malpani25@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.