forked from Minki/linux
42f38dcccf
Cleanup create_attributes_level_sysfs_files():
1. There is no need to call sysfs_remove_file() on error, sysman_init()
will already call release_attributes_data() on failure which already does
this.
2. There is no need for the pr_debug() calls sysfs_create_file() should
never fail and if it does it will already complain about the problem
itself.
Fixes:
|
||
---|---|---|
.. | ||
dell-wmi-sysman | ||
alienware-wmi.c | ||
dcdbas.c | ||
dcdbas.h | ||
dell_rbu.c | ||
dell-laptop.c | ||
dell-rbtn.c | ||
dell-rbtn.h | ||
dell-smbios-base.c | ||
dell-smbios-smm.c | ||
dell-smbios-wmi.c | ||
dell-smbios.h | ||
dell-smo8800.c | ||
dell-wmi-aio.c | ||
dell-wmi-descriptor.c | ||
dell-wmi-descriptor.h | ||
dell-wmi-led.c | ||
dell-wmi.c | ||
Kconfig | ||
Makefile |