aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/sony-laptop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/sony-laptop.c')
-rw-r--r--drivers/platform/x86/sony-laptop.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index e02edf68a68e..a90ec5cb2f20 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -2167,12 +2167,7 @@ static struct sonypi_compat_s sonypi_compat = {
2167 2167
2168static int sonypi_misc_fasync(int fd, struct file *filp, int on) 2168static int sonypi_misc_fasync(int fd, struct file *filp, int on)
2169{ 2169{
2170 int retval; 2170 return fasync_helper(fd, filp, on, &sonypi_compat.fifo_async);
2171
2172 retval = fasync_helper(fd, filp, on, &sonypi_compat.fifo_async);
2173 if (retval < 0)
2174 return retval;
2175 return 0;
2176} 2171}
2177 2172
2178static int sonypi_misc_release(struct inode *inode, struct file *file) 2173static int sonypi_misc_release(struct inode *inode, struct file *file)