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

From: Linus Walleij
Date: Fri Jun 04 2021 - 03:46:56 EST


On Wed, Jun 2, 2021 at 9:38 AM Zhen Lei <thunder.leizhen@xxxxxxxxxx> 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@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij