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:
3b2f64d
)
misc: c2port: use dev_bin_attrs instead of hand-coding it
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:05:04 +0000
(15:05 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:39:04 +0000
(15:39 -0700)
Classes support a list of default binary attributes, so use that in the
c2port driver, instead of hand creating and destroying the file, which
is racing with userspace. Bonus is this removes lines of code.
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found