[PATCH 2/4] rtc: pl031: use devm_* for allocating memory and mapping resource
From: Linus Walleij <hidden>
Date: 2017-08-02 12:31:41
Also in:
linux-rtc
From: Linus Walleij <hidden>
Date: 2017-08-02 12:31:41
Also in:
linux-rtc
On Fri, Jul 21, 2017 at 1:18 AM, Russell King [off-list ref] wrote:
Use the devm_* APIs for allocating memory and mapping the memory in the probe function to relieve the driver from having to deal with this in the cleanup paths. Signed-off-by: Russell King <redacted>
Reviewed-by: Linus Walleij <redacted> Yours, Linus Walleij