summaryrefslogtreecommitdiff
path: root/security/tomoyo/domain.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-02 17:44:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 13:44:53 +0300
commit0daa7a0afd0fa7aad83cbde0fb341d7fbeac952c (patch)
tree6fc189518d606e169abe9a936a1f4703ec620496 /security/tomoyo/domain.c
parentbd735995308b553cc3c7f6a975aa284b270c7e2c (diff)
downloadlinux-0daa7a0afd0fa7aad83cbde0fb341d7fbeac952c.tar.xz
hwrng: Avoid manual device_create_file() calls
Use the new group field of struct miscdevice for managing the sysfs entries instead of manually adding/removing via device_create_file() and device_remove_file(). This simplifies the code a lot and fixes the possible races. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/tomoyo/domain.c')
0 files changed, 0 insertions, 0 deletions