commit | 388a8c353d671d4ea2f638be84cfcbb912afdcf2 | [log] [tgz] |
---|---|---|
author | Oliver Schinagl <oliver@schinagl.nl> | Sun Jul 14 16:05:56 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 16 10:57:36 2013 -0700 |
tree | 65ec95b89c0620b909b398d42ef0695fb681dc17 | |
parent | 6ab9cea16075ea707022753395f340b67f64304c [diff] |
sysfs: prevent warning when only using binary attributes When only using bin_attrs instead of attrs the kernel prints a warning and refuses to create the sysfs entry. This fixes that. Signed-off-by: Oliver Schinagl <oliver@schinagl.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>