Re: [PATCH -next] mfd: Convert to DEFINE_SHOW_ATTRIBUTE

From: miaoqinglang
Date: Fri Sep 18 2020 - 22:17:41 EST




在 2020/7/16 21:46, Lee Jones 写道:
On Thu, 16 Jul 2020, Qinglang Miao wrote:

From: Yongqiang Liu <liuyongqiang13@xxxxxxxxxx>

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yongqiang Liu <liuyongqiang13@xxxxxxxxxx>
---
drivers/mfd/ab3100-core.c | 15 ++-------------
drivers/mfd/ab3100-otp.c | 16 +++-------------
drivers/mfd/tps65010.c | 14 ++------------

Can you split this out into different patches please.

Hi Lee,

I've splited this out into three patches.

They are against linux-next(20200917), and can be applied to mainline cleanly now.

Thanks.

3 files changed, 7 insertions(+), 38 deletions(-)