]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20b3877db8032425445ab732bb4ccd6a68c50240
tree5381249a652590bb700d1f08cb504bec0a952c7e
parentd24ed0b589c64ee8260b674d0e182d534f1bde55
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