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)
commit4134069f3ea6cd96903e426bd3dfb9bb44165357
tree4e203e3080e6a3b88f64a9213deb819a5394ce40
parentb0ebfaea4a21cb92a984030fa80501b44bf1bbf4
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