linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/18] Input - Fix make coccicheck warnings
@ 2015-10-02 13:40 Javier Martinez Canillas
  2015-10-02 13:40 ` [PATCH 01/18] Input: joydev - use memdup_user() to duplicate memory from user-space Javier Martinez Canillas
                   ` (18 more replies)
  0 siblings, 19 replies; 32+ messages in thread
From: Javier Martinez Canillas @ 2015-10-02 13:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Ferruh Yigit, Axel Lin, Pramod Gurav,
	Benjamin Tissoires, Heiko Stuebner, Fabio Estevam, Hans de Goede,
	Rasmus Villemoes, Rob Herring, Dirk Behme, Benson Leung,
	Shailendra Verma, Krzysztof Kozlowski, linux-input, Duson Lin,
	Jingoo Han, Wolfram Sang, Wei Yongjun, Henrik Rydberg,
	Daniel Mack, Dmitry Torokhov, Ni

Hello Dmitry,

This series contains trivial patches with fixes to different warnings
reported by make coccichek M=drivers/input.

The patches don't contain functional changes but makes the functions
simpler and removes unnecessary lines of code.

Best regards,
Javier


Javier Martinez Canillas (18):
  Input: joydev - use memdup_user() to duplicate memory from user-space
  Input: ads7846 - use PTR_ERR_OR_ZERO()
  Input: cyttsp - use PTR_ERR_OR_ZERO()
  Input: kxtj9 - remove unneeded retval variable
  Input: retu-pwrbutton - simplify function return logic
  Input: zforce - simplify function return logic
  Input: cap11xx - simplify function return logic
  Input: goldfish - simplify function return logic
  Input: jornada720_ts - simplify function return logic
  Input: intel-mid-touch - simplify function return logic
  Input: da9034-ts - simplify function return logic
  Input: pxa27x_keypad - simplify function return logic
  Input: atmel_mxt_ts - simplify function return logic
  Input: synaptics_i2c - simplify function return logic
  Input: auo-pixcir-ts - simplify function return logic
  Input: elan_i2c - simplify function return logic
  Input: cypress_ps2 - simplify function return logic
  Input: tps6507x-ts - simplify function return logic

 drivers/input/joydev.c                      | 18 ++++++-----------
 drivers/input/keyboard/cap11xx.c            |  8 ++------
 drivers/input/keyboard/goldfish_events.c    |  6 +-----
 drivers/input/keyboard/pxa27x_keypad.c      | 12 ++++--------
 drivers/input/misc/kxtj9.c                  |  3 +--
 drivers/input/misc/retu-pwrbutton.c         |  6 +-----
 drivers/input/mouse/cypress_ps2.c           |  6 +-----
 drivers/input/mouse/elan_i2c_smbus.c        |  6 +-----
 drivers/input/mouse/synaptics_i2c.c         |  6 +-----
 drivers/input/touchscreen/ads7846.c         |  4 +---
 drivers/input/touchscreen/atmel_mxt_ts.c    | 30 +++++------------------------
 drivers/input/touchscreen/auo-pixcir-ts.c   |  7 +------
 drivers/input/touchscreen/cyttsp4_i2c.c     |  5 +----
 drivers/input/touchscreen/da9034-ts.c       |  7 +------
 drivers/input/touchscreen/intel-mid-touch.c |  6 +-----
 drivers/input/touchscreen/jornada720_ts.c   |  6 +-----
 drivers/input/touchscreen/tps6507x-ts.c     |  9 +--------
 drivers/input/touchscreen/zforce_ts.c       |  7 +------
 18 files changed, 31 insertions(+), 121 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2015-10-03 11:13 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 13:40 [PATCH 00/18] Input - Fix make coccicheck warnings Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 01/18] Input: joydev - use memdup_user() to duplicate memory from user-space Javier Martinez Canillas
2015-10-02 18:21   ` Dmitry Torokhov
2015-10-02 13:40 ` [PATCH 02/18] Input: ads7846 - use PTR_ERR_OR_ZERO() Javier Martinez Canillas
2015-10-02 18:21   ` Dmitry Torokhov
2015-10-02 13:40 ` [PATCH 03/18] Input: cyttsp " Javier Martinez Canillas
2015-10-02 18:21   ` Dmitry Torokhov
2015-10-02 13:40 ` [PATCH 04/18] Input: kxtj9 - remove unneeded retval variable Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 05/18] Input: retu-pwrbutton - simplify function return logic Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 06/18] Input: zforce " Javier Martinez Canillas
2015-10-02 13:54   ` Heiko Stübner
2015-10-02 18:15     ` Dmitry Torokhov
2015-10-02 13:40 ` [PATCH 07/18] Input: cap11xx " Javier Martinez Canillas
2015-10-02 13:41   ` Daniel Mack
2015-10-02 18:09   ` Dmitry Torokhov
2015-10-02 18:17     ` Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 08/18] Input: goldfish " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 09/18] Input: jornada720_ts " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 10/18] Input: intel-mid-touch " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 11/18] Input: da9034-ts " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 12/18] Input: pxa27x_keypad " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 13/18] Input: atmel_mxt_ts " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 14/18] Input: synaptics_i2c " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 15/18] Input: auo-pixcir-ts " Javier Martinez Canillas
2015-10-02 18:19   ` Dmitry Torokhov
2015-10-02 13:40 ` [PATCH 16/18] Input: elan_i2c " Javier Martinez Canillas
2015-10-02 16:46   ` Benson Leung
2015-10-02 13:40 ` [PATCH 17/18] Input: cypress_ps2 " Javier Martinez Canillas
2015-10-02 13:40 ` [PATCH 18/18] Input: tps6507x-ts " Javier Martinez Canillas
2015-10-02 18:20   ` Dmitry Torokhov
2015-10-02 18:25 ` [PATCH 00/18] Input - Fix make coccicheck warnings Dmitry Torokhov
2015-10-03 11:13   ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).