pinctrl: Use DEFINE_SHOW_STORE_ATTRIBUTE() helper for debugfs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Apr 2024 19:35:21 +0000 (22:35 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2024 09:01:18 +0000 (11:01 +0200)
commit932640c0f78947c59a6e9c743a17a355165d69d5
treeb7300091c9b90bc42bfbfd7fdbbebccd1c91886e
parentb5fe46efc147516a908d2d31bf40eb858ab76d51
pinctrl: Use DEFINE_SHOW_STORE_ATTRIBUTE() helper for debugfs

Use DEFINE_SHOW_STORE_ATTRIBUTE() helper for read-write file to reduce some
duplicated code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Message-ID: <20240404193521.3581399-1-andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c