From: Jonathan Cameron <jic23@kernel.org>
To: Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@linux.intel.com>,
pmeerw@pmeerw.net
Cc: linux-iio@vger.kernel.org, srinivas.pandruvada@linux.intel.com
Subject: Re: [PATCH v5 5/5] iio: ltr501: Add ACPI enumeration support
Date: Sun, 19 Apr 2015 13:45:05 +0100 [thread overview]
Message-ID: <5533A351.9070500@kernel.org> (raw)
In-Reply-To: <24456f45bdb0586e6058a18f0c76ff455ffe5ea1.1429433882.git.sathyanarayanan.kuppuswamy@linux.intel.com>
On 19/04/15 10:10, Kuppuswamy Sathyanarayanan wrote:
> Added ACPI enumeration support for LTR501 chip.
>
> Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Good set of patches.
All now applied to the togreg branch of iio.git - pushed out as testing for the
autobuilders to play with it,.
Thanks,
Jonathan
> ---
> drivers/iio/light/ltr501.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/light/ltr501.c
> index d9b4536..0162e86 100644
> --- a/drivers/iio/light/ltr501.c
> +++ b/drivers/iio/light/ltr501.c
> @@ -17,6 +17,7 @@
> #include <linux/err.h>
> #include <linux/delay.h>
> #include <linux/regmap.h>
> +#include <linux/acpi.h>
>
> #include <linux/iio/iio.h>
> #include <linux/iio/events.h>
> @@ -1264,6 +1265,12 @@ static int ltr501_resume(struct device *dev)
>
> static SIMPLE_DEV_PM_OPS(ltr501_pm_ops, ltr501_suspend, ltr501_resume);
>
> +static const struct acpi_device_id ltr_acpi_match[] = {
> + {"LTER0501", 0},
> + { },
> +};
> +MODULE_DEVICE_TABLE(acpi, ltr_acpi_match);
> +
> static const struct i2c_device_id ltr501_id[] = {
> { "ltr501", 0 },
> { }
> @@ -1274,6 +1281,7 @@ static struct i2c_driver ltr501_driver = {
> .driver = {
> .name = LTR501_DRV_NAME,
> .pm = <r501_pm_ops,
> + .acpi_match_table = ACPI_PTR(ltr_acpi_match),
> .owner = THIS_MODULE,
> },
> .probe = ltr501_probe,
>
prev parent reply other threads:[~2015-04-19 12:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-19 9:09 [PATCH v5 0/5] Added LTR501 Interrupt support Kuppuswamy Sathyanarayanan
2015-04-19 9:10 ` [PATCH v5 1/5] iio: ltr501: Add regmap support Kuppuswamy Sathyanarayanan
2015-06-27 13:19 ` Hartmut Knaack
2015-04-19 9:10 ` [PATCH v5 2/5] iio: ltr501: Add integration time support Kuppuswamy Sathyanarayanan
2015-04-19 12:41 ` Jonathan Cameron
2015-06-27 13:35 ` Hartmut Knaack
2015-04-19 9:10 ` [PATCH v5 3/5] iio: ltr501: Add interrupt support Kuppuswamy Sathyanarayanan
2015-04-19 12:42 ` Jonathan Cameron
2015-06-27 21:34 ` Hartmut Knaack
2015-04-19 9:10 ` [PATCH v5 4/5] iio: ltr501: Add interrupt rate control support Kuppuswamy Sathyanarayanan
2015-04-19 12:44 ` Jonathan Cameron
2015-06-27 23:28 ` Hartmut Knaack
2015-04-19 9:10 ` [PATCH v5 5/5] iio: ltr501: Add ACPI enumeration support Kuppuswamy Sathyanarayanan
2015-04-19 12:45 ` 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=5533A351.9070500@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
--cc=srinivas.pandruvada@linux.intel.com \
/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.