Re: [PATCH 6/9] mfd: kempld-core: use DEVICE_ATTR_RO macro

From: Lee Jones
Date: Tue Jun 15 2021 - 08:14:14 EST


On Wed, 02 Jun 2021, Zhen Lei wrote:

> Use DEVICE_ATTR_RO 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>
> ---
> drivers/mfd/kempld-core.c | 19 +++++++++----------
> 1 file changed, 9 insertions(+), 10 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog