]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/hwmon/dell-smm-hwmon.c
Merge tag 'pm-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux.git] / drivers / hwmon / dell-smm-hwmon.c
index 17583bf8c2dcdf25da1dc21dc532451d13e04967..d4c83009d625206a13cc4f1442b467834be09a3a 100644 (file)
@@ -595,19 +595,18 @@ static int i8k_open_fs(struct inode *inode, struct file *file)
        return single_open(file, i8k_proc_show, NULL);
 }
 
-static const struct file_operations i8k_fops = {
-       .owner          = THIS_MODULE,
-       .open           = i8k_open_fs,
-       .read           = seq_read,
-       .llseek         = seq_lseek,
-       .release        = single_release,
-       .unlocked_ioctl = i8k_ioctl,
+static const struct proc_ops i8k_proc_ops = {
+       .proc_open      = i8k_open_fs,
+       .proc_read      = seq_read,
+       .proc_lseek     = seq_lseek,
+       .proc_release   = single_release,
+       .proc_ioctl     = i8k_ioctl,
 };
 
 static void __init i8k_init_procfs(void)
 {
        /* Register the proc entry */
-       proc_create("i8k", 0, NULL, &i8k_fops);
+       proc_create("i8k", 0, NULL, &i8k_proc_ops);
 }
 
 static void __exit i8k_exit_procfs(void)