[PATCH 3/5] drivers/rtc/rtc-pl031.c: Convert to use devm_*()

Linus Walleij linus.walleij at linaro.org
Tue Mar 28 18:46:42 PDT 2017


On Sun, Mar 26, 2017 at 4:41 PM, Leo Yan <leo.yan at linaro.org> wrote:

> Convert driver to use devm_*() APIs so rely on driver model core layer
> to manage resources. This eliminates error path boilerplate and makes
> code neat.
>
> Signed-off-by: Leo Yan <leo.yan at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list