tty: Use static attribute groups for sysfs entries
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Feb 2015 10:07:42 +0000 (11:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 15:10:10 +0000 (16:10 +0100)
commit1083a7be4504df8149015894c982ebaf69766ddc
tree5381249a652590bb700d1f08cb504bec0a952c7e
parent1569039db0062c47c97ca0bf0c86210d26b8f412
tty: Use static attribute groups for sysfs entries

Instead of manual calls of device_create_file() and
device_remove_file(), pass the static attribute groups using
device_create_with_groups().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
drivers/tty/vt/vt.c
This page took 0.02673 seconds and 5 git commands to generate.