Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] use managed functions for ad7897 driver
@ 2017-11-08 15:50 Andi Shyti
  2017-11-08 15:50 ` [PATCH v3 1/3] Input: ad7897 - use managed allocated resources Andi Shyti
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andi Shyti @ 2017-11-08 15:50 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Michael Hennerich, Lars-Peter Clausen, linux-input, linux-kernel,
	Andi Shyti, Andi Shyti

Hi Dmitry,

after our discussion[1], I decided to do it a more properly by
replacing in the touchscreen drivers the initialization functions
with their related managed functions.

I will slowly send patches for other drivers.

The last patch is trivial, but somehow it bothers me, please feel
free to reject it.

Thanks,
Andi

v2 - v3
https://marc.info/?l=linux-kernel&m=151015103707211&w=2
 - fixed a mistake I did while squashing the patches in v2
   (thanks Lars[2])

v1 - v2
https://marc.info/?l=linux-kernel&m=150963732620135&w=2
 - squashed all the patches that were switching to the managed
   resource allocation
 - removed the remove() function and used
   devm_add_action_or_reset for cleaning when exiting

[1] https://marc.info/?l=linux-input&m=150671805312148&w=2
[2] https://marc.info/?l=linux-kernel&m=151015513508504&w=2

Andi Shyti (3):
  Input: ad7897 - use managed allocated resources
  Input: ad7897 - use devm_add_action_or_reset to disable the device
  Input: ad7897 - use separate error handling for different allocators

 drivers/input/touchscreen/ad7877.c | 65 ++++++++++++--------------------------
 1 file changed, 20 insertions(+), 45 deletions(-)

-- 
2.15.0


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

end of thread, other threads:[~2018-01-23  1:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08 15:50 [PATCH v3 0/3] use managed functions for ad7897 driver Andi Shyti
2017-11-08 15:50 ` [PATCH v3 1/3] Input: ad7897 - use managed allocated resources Andi Shyti
2017-11-08 15:50 ` [PATCH v3 2/3] Input: ad7897 - use devm_add_action_or_reset to disable the device Andi Shyti
2018-01-23  1:40   ` Dmitry Torokhov
2017-11-08 15:50 ` [PATCH v3 3/3] Input: ad7897 - use separate error handling for different allocators Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox