]> git.baikalelectronics.ru Git - kernel.git/commit
hso: Use static attribute groups for sysfs entry
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Feb 2015 10:15:24 +0000 (11:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 23:51:38 +0000 (15:51 -0800)
commitcc8a3148b5ec6ca6f2ab007bc0d5f7637ffcdf60
tree4e203e3080e6a3b88f64a9213deb819a5394ce40
parente5b1e61b01fe31da47fabac4dc8cd7f5b179c71b
hso: Use static attribute groups for sysfs entry

Pass the static attribute groups and the driver data via
tty_port_register_device_attr() instead of manual device_create_file()
and device_remove_file() calls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c