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:
bdf2829
)
ipmi: Use is_visible callback for conditional sysfs entries
author
Takashi Iwai
<tiwai@suse.de>
Wed, 4 Feb 2015 14:36:14 +0000
(15:36 +0100)
committer
Corey Minyard
<cminyard@mvista.com>
Fri, 20 Feb 2015 02:58:40 +0000
(20:58 -0600)
Instead of manual calls of device_create_file() and
device_remove_file(), implement the condition in is_visible callback
for the attribute group and put these entries to the group, too.
This simplifies the code and avoids the possible races.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
history
diff --cc
drivers/char/ipmi/ipmi_msghandler.c
Simple merge