From: Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>
To: "Patil, Rachna" <rachna-l0cyMroinI0@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
Dmitry Torokhov
<dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Dmitry Torokhov <dtor-JGs/UdohzUI@public.gmane.org>,
Jonathan Cameron <jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
Subject: Re: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality
Date: Thu, 13 Sep 2012 15:01:35 +0200 [thread overview]
Message-ID: <5051D92F.1090309@metafoo.de> (raw)
In-Reply-To: <1347532819-505-6-git-send-email-rachna-l0cyMroinI0@public.gmane.org>
On 09/13/2012 12:40 PM, Patil, Rachna wrote:
> This patch adds support for suspend/resume of
> TSC/ADC MFDevice.
>
> Signed-off-by: Patil, Rachna <rachna-l0cyMroinI0@public.gmane.org>
> ---
> Changes in v2:
> Added this patch newly in this patch series.
>
> Changes in v3:
> No changes.
>
> drivers/iio/adc/ti_adc.c | 32 ++++++++++++++++++++++++++++++++
> drivers/input/touchscreen/ti_tsc.c | 33 +++++++++++++++++++++++++++++++++
> drivers/mfd/ti_tscadc.c | 33 ++++++++++++++++++++++++++++++++-
> include/linux/mfd/ti_tscadc.h | 3 +++
> 4 files changed, 100 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/iio/adc/ti_adc.c b/drivers/iio/adc/ti_adc.c
> index 56f8af2..69f19f0 100644
> --- a/drivers/iio/adc/ti_adc.c
> +++ b/drivers/iio/adc/ti_adc.c
> @@ -207,6 +207,36 @@ static int __devexit tiadc_remove(struct platform_device *pdev)
> return 0;
> }
>
[...]
> static struct platform_driver tiadc_driver = {
> .driver = {
> .name = "tiadc",
> @@ -214,6 +244,8 @@ static struct platform_driver tiadc_driver = {
> },
> .probe = tiadc_probe,
> .remove = __devexit_p(tiadc_remove),
> + .suspend = adc_suspend,
> + .resume = adc_resume,
> };
>
Using the suspend/resume callbacks is deprecated, please use dev_pm_ops.
Same comment applies to the other two drivers.
WARNING: multiple messages have this Message-ID (diff)
From: Lars-Peter Clausen <lars@metafoo.de>
To: "Patil, Rachna" <rachna@ti.com>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
linux-iio@vger.kernel.org, Samuel Ortiz <sameo@linux.intel.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Dmitry Torokhov <dtor@mail.ru>,
Jonathan Cameron <jic23@cam.ac.uk>
Subject: Re: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality
Date: Thu, 13 Sep 2012 15:01:35 +0200 [thread overview]
Message-ID: <5051D92F.1090309@metafoo.de> (raw)
In-Reply-To: <1347532819-505-6-git-send-email-rachna@ti.com>
On 09/13/2012 12:40 PM, Patil, Rachna wrote:
> This patch adds support for suspend/resume of
> TSC/ADC MFDevice.
>
> Signed-off-by: Patil, Rachna <rachna@ti.com>
> ---
> Changes in v2:
> Added this patch newly in this patch series.
>
> Changes in v3:
> No changes.
>
> drivers/iio/adc/ti_adc.c | 32 ++++++++++++++++++++++++++++++++
> drivers/input/touchscreen/ti_tsc.c | 33 +++++++++++++++++++++++++++++++++
> drivers/mfd/ti_tscadc.c | 33 ++++++++++++++++++++++++++++++++-
> include/linux/mfd/ti_tscadc.h | 3 +++
> 4 files changed, 100 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/iio/adc/ti_adc.c b/drivers/iio/adc/ti_adc.c
> index 56f8af2..69f19f0 100644
> --- a/drivers/iio/adc/ti_adc.c
> +++ b/drivers/iio/adc/ti_adc.c
> @@ -207,6 +207,36 @@ static int __devexit tiadc_remove(struct platform_device *pdev)
> return 0;
> }
>
[...]
> static struct platform_driver tiadc_driver = {
> .driver = {
> .name = "tiadc",
> @@ -214,6 +244,8 @@ static struct platform_driver tiadc_driver = {
> },
> .probe = tiadc_probe,
> .remove = __devexit_p(tiadc_remove),
> + .suspend = adc_suspend,
> + .resume = adc_resume,
> };
>
Using the suspend/resume callbacks is deprecated, please use dev_pm_ops.
Same comment applies to the other two drivers.
next prev parent reply other threads:[~2012-09-13 13:01 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-13 10:40 [PATCH v3 0/5] Support for TSC/ADC MFD driver Patil, Rachna
2012-09-13 10:40 ` Patil, Rachna
2012-09-13 10:40 ` [PATCH v3 1/5] input: TSC: ti_tscadc: Rename the existing touchscreen driver Patil, Rachna
2012-09-13 10:40 ` Patil, Rachna
2012-09-13 10:40 ` [PATCH v3 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice Patil, Rachna
2012-09-13 10:40 ` Patil, Rachna
[not found] ` <1347532819-505-1-git-send-email-rachna-l0cyMroinI0@public.gmane.org>
2012-09-13 10:40 ` [PATCH v3 3/5] input: TSC: ti_tsc: Convert TSC into a MFDevice Patil, Rachna
2012-09-13 10:40 ` Patil, Rachna
2012-09-13 10:40 ` [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver Patil, Rachna
2012-09-13 10:40 ` Patil, Rachna
2012-09-13 12:13 ` Jonathan Cameron
[not found] ` <5051CDEA.5080200-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2012-09-13 16:58 ` Dmitry Torokhov
2012-09-13 16:58 ` Dmitry Torokhov
2012-09-14 6:00 ` Patil, Rachna
2012-09-14 6:00 ` Patil, Rachna
[not found] ` <4CE347531D4CA947960AF71FF095B9323E953D32-Er742YJ7I/eIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2012-09-14 8:20 ` Jonathan Cameron
2012-09-14 8:20 ` Jonathan Cameron
[not found] ` <5052E8E9.4030206-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2012-09-17 6:11 ` Patil, Rachna
2012-09-17 6:11 ` Patil, Rachna
[not found] ` <1347532819-505-5-git-send-email-rachna-l0cyMroinI0@public.gmane.org>
2012-09-13 12:51 ` Lars-Peter Clausen
2012-09-13 12:51 ` Lars-Peter Clausen
2012-09-14 6:11 ` Patil, Rachna
2012-09-13 10:40 ` [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality Patil, Rachna
2012-09-13 10:40 ` Patil, Rachna
[not found] ` <1347532819-505-6-git-send-email-rachna-l0cyMroinI0@public.gmane.org>
2012-09-13 13:01 ` Lars-Peter Clausen [this message]
2012-09-13 13:01 ` Lars-Peter Clausen
[not found] ` <5051D92F.1090309-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>
2012-09-14 4:59 ` Patil, Rachna
2012-09-14 4:59 ` Patil, Rachna
[not found] ` <4CE347531D4CA947960AF71FF095B9323E953CC3-Er742YJ7I/eIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2012-09-14 5:09 ` Venu Byravarasu
2012-09-14 5:09 ` Venu Byravarasu
2012-09-14 5:16 ` Patil, Rachna
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=5051D92F.1090309@metafoo.de \
--to=lars-qo5elluwu/uelga04laivw@public.gmane.org \
--cc=dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=dtor-JGs/UdohzUI@public.gmane.org \
--cc=jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org \
--cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rachna-l0cyMroinI0@public.gmane.org \
--cc=sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
/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.