From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933914AbdKBPiY (ORCPT ); Thu, 2 Nov 2017 11:38:24 -0400 Received: from 8.mo68.mail-out.ovh.net ([46.105.74.219]:39418 "EHLO 8.mo68.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933828AbdKBPiW (ORCPT ); Thu, 2 Nov 2017 11:38:22 -0400 X-Greylist: delayed 2127 seconds by postgrey-1.27 at vger.kernel.org; Thu, 02 Nov 2017 11:38:21 EDT From: Andi Shyti To: Dmitry Torokhov Cc: Michael Hennerich , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Andi Shyti , Andi Shyti Subject: [PATCH 0/5] use managed functions for ad7897 driver Date: Thu, 2 Nov 2017 17:01:31 +0200 Message-Id: <20171102150136.1476-1-andi@etezian.org> X-Mailer: git-send-email 2.15.0 X-Ovh-Tracer-Id: 3702521845668299418 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedttddrgeeigdeilecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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