Skip to contentSkip to conversation

PM/devfreq: fix private_data

PATCH Rafael J. Wysocki 1 participant 1 message Nov 7, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Jonathan Corbet

The "private_date" field in struct devfreq_dev_status almost certainly wants to be "private_data"; since there are no in-tree users of this functionality, now seems like an easy time to make the fix.

Thanks for the fix, applied to linux-pm/linux-next and will be pushed to Linus around tomorrow.

Thanks,
Rafael

Quoted 15 lines
include/linux/devfreq.h +1 -1
index afb9458..98ce812 100644
@@ -41,7 +41,7 @@ struct devfreq_dev_status {
 	unsigned long total_time;
 	unsigned long busy_time;
 	unsigned long current_frequency;
-	void *private_date;
+	void *private_data;
 };
 
 /**