[PATCH 0/5] use managed functions for ad7897 driver

From: Andi Shyti
Date: Thu Nov 02 2017 - 11:38:27 EST


Hi Dmitry,

after our discussion[*], 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

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

Andi Shyti (5):
Input: ad7897 - use managed devm_kzalloc
Input: ad7897 - use managed devm_input_allocate_device
Input: ad7897 - use managed devm_request_threaded_irq
Input: ad7897 - use managed devm_device_add_group
Input: ad7897 - use separate error handling for different allocators

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

--
2.15.0