Bjorn Helgaas a61aca2854 firmware: dmi-sysfs: Don't remove dmi-sysfs "raw" file explicitly
Removing the dmi-sysfs module causes the following warning:

  # modprobe -r dmi_sysfs
  WARNING: CPU: 11 PID: 6785 at fs/sysfs/inode.c:325 sysfs_hash_and_remove+0xa9/0xb0()
  sysfs: can not remove 'raw', no directory

This is because putting the entry kobject, e.g., for
"/sys/firmware/dmi/entries/19-0", removes the directory and all its
contents.  By the time dmi_sysfs_entry_release() runs, the "raw" file
inside ".../19-0/" has already been removed.

Therefore, we don't need to remove the "raw" bin file at all in
dmi_sysfs_entry_release().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-08 18:23:42 -08:00
..
2013-11-27 01:03:27 +01:00
2013-11-27 13:55:16 -05:00
2013-11-19 15:53:02 -05:00
2013-10-29 12:53:07 +02:00
2013-11-27 01:03:43 +01:00
2013-11-07 19:24:20 +01:00
2013-11-28 09:57:46 -08:00
2013-11-27 01:03:27 +01:00
2013-11-19 01:06:28 +01:00
2013-11-15 14:05:15 -08:00
2013-10-24 16:18:40 +01:00
2013-11-18 15:35:09 -08:00