From: Chanwoo Choi <cw00.choi@samsung.com>
To: linux-pm@vger.kernel.org
Cc: myungjoo.ham@samsung.com, kyungmin.park@samsung.com,
linux-kernel@vger.kernel.org, Lin Huang <hl@rock-chips.com>
Subject: Re: [PATCH] PM / devfreq: event: remove duplicate devfreq_event_get_drvdata()
Date: Thu, 04 Aug 2016 19:30:26 +0900 [thread overview]
Message-ID: <57A31942.2060507@samsung.com> (raw)
In-Reply-To: <1470306525-5515-1-git-send-email-cw00.choi@samsung.com>
Dear all,
Please ignore this patch. This patch fix the bug.
So, I should send it on stable@verger.kernel.org.
But the stable mailing list is missing. So, I'll resend it.
Regards,
Chanwoo Choi
On 2016년 08월 04일 19:28, Chanwoo Choi wrote:
> From: Lin Huang <hl@rock-chips.com>
>
> there define two devfreq_event_get_drvdata() function in devfreq-event.h
> when disable CONFIG_PM_DEVFREQ_EVENT, it will lead to build fail. So
> remove devfreq_event_get_drvdata() function.
>
> Fixes: f262f28c1470 ("PM / devfreq: event: Add devfreq_event class")
> Signed-off-by: Lin Huang <hl@rock-chips.com>
> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
> ---
> include/linux/devfreq-event.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/include/linux/devfreq-event.h b/include/linux/devfreq-event.h
> index 0a83a1e648b0..4db00b02ca3f 100644
> --- a/include/linux/devfreq-event.h
> +++ b/include/linux/devfreq-event.h
> @@ -148,11 +148,6 @@ static inline int devfreq_event_reset_event(struct devfreq_event_dev *edev)
> return -EINVAL;
> }
>
> -static inline void *devfreq_event_get_drvdata(struct devfreq_event_dev *edev)
> -{
> - return ERR_PTR(-EINVAL);
> -}
> -
> static inline struct devfreq_event_dev *devfreq_event_get_edev_by_phandle(
> struct device *dev, int index)
> {
>
next prev parent reply other threads:[~2016-08-04 10:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20160804102847epcas1p498c32c32d5aaec87e607ff4adb07070a@epcas1p4.samsung.com>
2016-08-04 10:28 ` [PATCH] PM / devfreq: event: remove duplicate devfreq_event_get_drvdata() Chanwoo Choi
2016-08-04 10:30 ` Chanwoo Choi [this message]
[not found] <CGME20160804060219epcas1p2543bf871e76403f90d47f352251074fa@epcas1p2.samsung.com>
2016-08-04 6:01 ` Lin Huang
[not found] ` <1470290508-19178-1-git-send-email-hl-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-04 8:40 ` Chanwoo Choi
2016-08-04 8:40 ` Chanwoo Choi
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=57A31942.2060507@samsung.com \
--to=cw00.choi@samsung.com \
--cc=hl@rock-chips.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=myungjoo.ham@samsung.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.