lkml.org 
[lkml]   [2020]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] Input: adp5589: cleanup and use device-managed functions
Date
This change-set does a cleanup of the driver to use device-managed
functions. The error & exit paths are simplified, and some potential
leaks should be removed.

Alexandru Ardelean (6):
Input: adp5589: use a single variable for error in probe
Input: adp5589: use devm_kzalloc() to allocate the kpad object
Input: adp5589: use device-managed function in adp5589_keypad_add()
Input: adp5589: remove setup/teardown hooks for gpios
Input: adp5589: use devm_gpiochip_add_data() for gpios
Input: adp5589: use devm_add_action_or_reset() for register clear

drivers/input/keyboard/adp5589-keys.c | 134 +++++++-------------------
include/linux/input/adp5589.h | 7 --
2 files changed, 34 insertions(+), 107 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2020-11-11 09:44    [W:0.116 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site