clk: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Feb 2018 15:48:00 +0000 (17:48 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 19 Mar 2018 17:50:52 +0000 (10:50 -0700)
commitfec0ef3f52735e1e9ac60f8644d4015ae21c0928
treee066988e2cf391260dfd5c6d32916a5684037ade
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
clk: Re-use DEFINE_SHOW_ATTRIBUTE() macro

...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c