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 afb94583960c9f0b0c1bc2a896ec747f4422e156..98ce8124b1cc5e5fb2e61fcf89cc8bd3cc0a7e82 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;
 };
 
 /**