Input: xpad - simplify error condition in init_output
authorPavel Rojtberg <rojtberg@gmail.com>
Fri, 27 May 2016 23:26:33 +0000 (16:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 6 Jan 2017 18:31:51 +0000 (10:31 -0800)
commita8c34e27fb1ece928ec728bfe596aa6ca0b1928a
tree5b868886fb58ddc31c153dd210b6c9246847526c
parent4f88476c75429ba9ab71c428b4cd2f67575bc9c1
Input: xpad - simplify error condition in init_output

Replace first goto with simple returns as we really are just returning
one error code.

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c