[PATCH 8/8] rtc: ab8500: use DEVICE_ATTR_RW macro

Linus Walleij linus.walleij at linaro.org
Fri Jun 4 00:46:41 PDT 2021


On Wed, Jun 2, 2021 at 9:38 AM Zhen Lei <thunder.leizhen at huawei.com> wrote:

> Use DEVICE_ATTR_RW macro helper instead of plain DEVICE_ATTR, which makes
> the code a bit shorter and easier to read.
>
> Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>

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

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list