*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / hwmon / w83793.c
index 0af0f6283b353f36a9344a189660426642ef17fa..e94ae1bb3cf053a3d334483468a2deeb94986dfe 100644 (file)
@@ -1341,7 +1341,7 @@ static int watchdog_open(struct inode *inode, struct file *filp)
        /* Store pointer to data into filp's private data */
        filp->private_data = data;
 
-       return nonseekable_open(inode, filp);
+       return stream_open(inode, filp);
 }
 
 static int watchdog_close(struct inode *inode, struct file *filp)