]> 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)
commit29705369617d56e9499c2183429cc6f5130c1373
tree4e203e3080e6a3b88f64a9213deb819a5394ce40
parentcb2bec0006910e88c658279cc6afa3df5e2bca72
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