Skip to content
Commit 388a8c35 authored by Oliver Schinagl's avatar Oliver Schinagl Committed by Greg Kroah-Hartman
Browse files

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: default avatarOliver Schinagl <oliver@schinagl.nl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6ab9cea1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment