summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-08 20:34:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 22:45:04 +0200
commit3ce20a710f1dac8f5073d1b138039c75dd46d967 (patch)
tree1f8cf403ece5a59a3a8b1cea8788fdb53062caf9 /lib/Makefile
parentLinux 3.11-rc2 (diff)
downloadlinux-3ce20a710f1dac8f5073d1b138039c75dd46d967.tar.xz
linux-3ce20a710f1dac8f5073d1b138039c75dd46d967.zip
misc: c2port: use dev_bin_attrs instead of hand-coding it
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> -- drivers/misc/c2port/core.c | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-)
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions