]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/proc/inode.c
hwmon: (w83781d) Stop abusing struct i2c_client for ISA devices
[linux-2.6-omap-h63xx.git] / fs / proc / inode.c
index 8bb03f056c282ec1c0b4b256c5f4ed4551182f1c..c6b4fa7e3b49e9a2625bf3a76465c85d7df7eba2 100644 (file)
@@ -342,7 +342,7 @@ static int proc_reg_open(struct inode *inode, struct file *file)
        if (!pde->proc_fops) {
                spin_unlock(&pde->pde_unload_lock);
                kfree(pdeo);
-               return rv;
+               return -EINVAL;
        }
        pde->pde_users++;
        open = pde->proc_fops->open;