diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-09-29 11:22:05 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-10-12 16:29:49 +0200 |
commit | 273c868e85a56481ccb34822be2033dbe63248fb (patch) | |
tree | 44ad92c358a424f8c310fdaf3d4f0f85c93c82ad /drivers/gpio/gpio-arizona.c | |
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>
Diffstat (limited to 'drivers/gpio/gpio-arizona.c')
0 files changed, 0 insertions, 0 deletions