aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/hdpuftrs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/hdpuftrs')
-rw-r--r--drivers/misc/hdpuftrs/hdpu_cpustate.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/drivers/misc/hdpuftrs/hdpu_cpustate.c b/drivers/misc/hdpuftrs/hdpu_cpustate.c
index b16742c7c69d..32f65a3e07ce 100644
--- a/drivers/misc/hdpuftrs/hdpu_cpustate.c
+++ b/drivers/misc/hdpuftrs/hdpu_cpustate.c
@@ -170,21 +170,18 @@ static struct platform_driver hdpu_cpustate_driver = {
170 * The various file operations we support. 170 * The various file operations we support.
171 */ 171 */
172static const struct file_operations cpustate_fops = { 172static const struct file_operations cpustate_fops = {
173 owner: THIS_MODULE, 173 .owner = THIS_MODULE,
174 open: cpustate_open, 174 .open = cpustate_open,
175 release: cpustate_release, 175 .release = cpustate_release,
176 read: cpustate_read, 176 .read = cpustate_read,
177 write: cpustate_write, 177 .write = cpustate_write,
178 fasync: NULL, 178 .llseek = no_llseek,
179 poll: NULL,
180 ioctl: NULL,
181 llseek: no_llseek,
182}; 179};
183 180
184static struct miscdevice cpustate_dev = { 181static struct miscdevice cpustate_dev = {
185 MISC_DYNAMIC_MINOR, 182 .minor = MISC_DYNAMIC_MINOR,
186 "sky_cpustate", 183 .name = "sky_cpustate",
187 &cpustate_fops, 184 .fops = &cpustate_fops,
188}; 185};
189 186
190static int hdpu_cpustate_probe(struct platform_device *pdev) 187static int hdpu_cpustate_probe(struct platform_device *pdev)