mfd: ab8500: Introduce DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Dec 2017 10:51:21 +0000 (12:51 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Jan 2018 11:03:35 +0000 (11:03 +0000)
commit156d07050b34605dafc8a6bf493d69b2b998d239
tree142597cc64a39d803f8e5bf03c6dbacc5060f4b7
parent7fdec11015c374a6f0b29ceccf35f559c2208042
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>
drivers/mfd/ab8500-debugfs.c