commit | 273c868e85a56481ccb34822be2033dbe63248fb | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Fri Sep 29 11:22:05 2017 +0100 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Oct 12 16:29:49 2017 +0200 |
tree | 44ad92c358a424f8c310fdaf3d4f0f85c93c82ad | |
parent | eb508b36d549d96a7ddcf1fe0656cdd86b038fe5 [diff] |
rtc: pl031: use devm_* for allocating memory and mapping resource 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 <rmk+kernel@armlinux.org.uk> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>