-
Heiner Kallweit authored
Instead of creating/removing the attribute ourselves, just declare the attribute and let the device core handle it. This allows to simplify the code. Signed-off-by:
Heiner Kallweit <hkallweit1@gmail.com> Link: https://lore.kernel.org/r/8a6c77f2-f84a-311b-c2b9-21798f690e4d@gmail.comSigned-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b63866ef