mfd: ab8500: Introduce DEFINE_SHOW_ATTRIBUTE() macro

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@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Andy Shevchenko
2017-12-14 12:51:21 +02:00
committed by Lee Jones
parent 7fdec11015
commit 156d07050b
File diff suppressed because it is too large Load Diff