diff options
author | Joe Perches <joe@perches.com> | 2010-09-04 21:52:50 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-09-23 07:33:46 -0400 |
commit | 99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4 (patch) | |
tree | 8d6bec34001ba3166d802b7db27124a46e546523 /kernel/pm_qos_params.c | |
parent | 0c6d7d5da27df7ec586fc916f06136a6b7ad1f72 (diff) |
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/pm_qos_params.c')
-rw-r--r-- | kernel/pm_qos_params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/pm_qos_params.c b/kernel/pm_qos_params.c index 996a4dec5f96..49829c5b4b47 100644 --- a/kernel/pm_qos_params.c +++ b/kernel/pm_qos_params.c | |||
@@ -394,7 +394,7 @@ static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf, | |||
394 | } else | 394 | } else |
395 | return -EINVAL; | 395 | return -EINVAL; |
396 | 396 | ||
397 | pm_qos_req = (struct pm_qos_request_list *)filp->private_data; | 397 | pm_qos_req = filp->private_data; |
398 | pm_qos_update_request(pm_qos_req, value); | 398 | pm_qos_update_request(pm_qos_req, value); |
399 | 399 | ||
400 | return count; | 400 | return count; |