[PATCH 1/9] mfd: wm831x: use DEVICE_ATTR_RO macro

Charles Keepax ckeepax at opensource.cirrus.com
Wed Jun 2 05:39:25 PDT 2021


On Wed, Jun 02, 2021 at 07:43:31PM +0800, 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 at huawei.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles



More information about the linux-arm-kernel mailing list