git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd73599
)
hwrng: Avoid manual device_create_file() calls
author
Takashi Iwai
<tiwai@suse.de>
Mon, 2 Feb 2015 14:44:55 +0000
(15:44 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 25 Mar 2015 10:44:53 +0000
(11:44 +0100)
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>
drivers/char/hw_random/core.c
patch
|
blob
|
history
diff --cc
drivers/char/hw_random/core.c
Simple merge