mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
FROMLIST: PM / devfreq: event: remove duplicate devfreq_event_get_drvdata()
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. Change-Id: I273e91d4aac48ae25af5ef6de2feb37944cf6e39 Signed-off-by: Lin Huang <hl@rock-chips.com>
This commit is contained in:
parent
d83fb7d535
commit
becb293628
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user