summaryrefslogtreecommitdiffstats
path: root/kernel/pm_qos_params.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-04 18:52:50 -0700
committerJiri Kosina <jkosina@suse.cz>2010-09-23 13:33:46 +0200
commit99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4 (patch)
tree8d6bec34001ba3166d802b7db27124a46e546523 /kernel/pm_qos_params.c
parent0c6d7d5da27df7ec586fc916f06136a6b7ad1f72 (diff)
downloadlinux-99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4.tar.bz2
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.c2
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,
} else
return -EINVAL;
- pm_qos_req = (struct pm_qos_request_list *)filp->private_data;
+ pm_qos_req = filp->private_data;
pm_qos_update_request(pm_qos_req, value);
return count;