[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1490539314-9681-1-git-send-email-leo.yan@linaro.org>
Date: Sun, 26 Mar 2017 22:41:49 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Russell King <linux@...linux.org.uk>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Linus Walleij <linus.walleij@...aro.org>,
Baptiste Reynal <b.reynal@...tualopensystems.com>,
Alex Williamson <alex.williamson@...hat.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, rtc-linux@...glegroups.com,
linux-arm-kernel@...ts.infradead.org, kvm@...r.kernel.org,
alsa-devel@...a-project.org
Cc: Leo Yan <leo.yan@...aro.org>
Subject: [PATCH 0/5] Convert to use devm_*() for amba attached modules
When review device driver modules which attach to amba bus, found
several modules are not using devm_*() apis to manage resource. As
result, some drivers have memory leakage or missing iomem unmapping
when rmmod module. And the code has many "goto" tags to handle
different failures.
So this patch series is to convert to use devm_*() for moudules which
are attached to amba bus to manage resource and get more robust and
neat code.
Patch 0003 "drivers/rtc/rtc-pl031.c: Convert to use devm_*()" has been
verified on 96boards Hikey. Other patches can pass building but have
not really tested on hardware.
Leo Yan (5):
Input: ambakmi - Convert to use devm_*()
drivers/rtc/rtc-pl030.c: Convert to use devm_*()
drivers/rtc/rtc-pl031.c: Convert to use devm_*()
vfio: platform: Convert to use devm_*()
ALSA: AACI: Convert to use devm_ioremap_resource()
drivers/input/serio/ambakmi.c | 44 +++++++----------------------
drivers/rtc/rtc-pl030.c | 49 ++++++++------------------------
drivers/rtc/rtc-pl031.c | 59 ++++++++++-----------------------------
drivers/vfio/platform/vfio_amba.c | 25 ++++++-----------
sound/arm/aaci.c | 21 ++++----------
5 files changed, 51 insertions(+), 147 deletions(-)
--
2.7.4
Powered by blists - more mailing lists