PM / devfreq: fix private_data
authorJonathan Corbet <corbet@lwn.net>
Mon, 7 Nov 2011 22:54:53 +0000 (23:54 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Nov 2011 22:54:53 +0000 (23:54 +0100)
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.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
include/linux/devfreq.h

index afb9458..98ce812 100644 (file)
@@ -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;
 };
 
 /**