]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
USB: host: sl811: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Mar 2018 14:17:23 +0000 (16:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Mar 2018 14:40:19 +0000 (15:40 +0100)
commit7bb9aedac66cc768b255e60f97a137935dd818d8
tree266e00e2a768c22253260e0c126be8c4725ccbc1
parent0ee78c101425aae681c631ba59c6ac7f44b1d83a
USB: host: sl811: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/sl811-hcd.c