Searched hist:"901 ea5e3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | auo-pixcir-ts.c | 901ea5e3 Fri Oct 02 13:18:59 CDT 2015 Javier Martinez Canillas <javier@osg.samsung.com> Input: auo-pixcir-ts - simplify function return logic
The invoked function already returns zero on success or a negative errno code so there is no need to open code the logic in the caller.
This also fixes the following make coccicheck warnings:
end returns can be simplified and declaration on line 402 can be dropped
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> 901ea5e3 Fri Oct 02 13:18:59 CDT 2015 Javier Martinez Canillas <javier@osg.samsung.com> Input: auo-pixcir-ts - simplify function return logic The invoked function already returns zero on success or a negative errno code so there is no need to open code the logic in the caller. This also fixes the following make coccicheck warnings: end returns can be simplified and declaration on line 402 can be dropped Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|