Re: [PATCH v1] mfd: ab8500: introduce DEFINE_SHOW_ATTRIBUTE() macro

From: Linus Walleij
Date: Wed Dec 20 2017 - 07:19:47 EST

On Fri, Dec 15, 2017 at 11:54 AM, Lee Jones <lee.jones@xxxxxxxxxx> wrote:

> Linus,
>> This macro deduplicates a lot of similar code in the ab8500-debugfs.c module.
>> Targeting to be moved to seq_file.h eventually.
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

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

Excellent cleanup.

Can't test it right now, if it causes any runtime fallout I will handle it.

Linus Walleij