|
@@ -152,7 +152,6 @@ static int devfreq_passive_notifier_call(struct notifier_block *nb,
|
|
|
static int devfreq_passive_event_handler(struct devfreq *devfreq,
|
|
static int devfreq_passive_event_handler(struct devfreq *devfreq,
|
|
|
unsigned int event, void *data)
|
|
unsigned int event, void *data)
|
|
|
{
|
|
{
|
|
|
- struct device *dev = devfreq->dev.parent;
|
|
|
|
|
struct devfreq_passive_data *p_data
|
|
struct devfreq_passive_data *p_data
|
|
|
= (struct devfreq_passive_data *)devfreq->data;
|
|
= (struct devfreq_passive_data *)devfreq->data;
|
|
|
struct devfreq *parent = (struct devfreq *)p_data->parent;
|
|
struct devfreq *parent = (struct devfreq *)p_data->parent;
|