firmware: qemu_fw_cfg: remove sysfs entries explicitly
authorJohan Hovold <johan@kernel.org>
Wed, 1 Dec 2021 13:25:28 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Dec 2021 09:14:53 +0000 (10:14 +0100)
commitbb84e64f8fb3b1341eb75075219a1f060afe9895
tree2aa53be65fb9b6a89e5b9548cf62c2dd052cb985
parent433b7cd1e702b0918ef90cbf06c3da24313625d2
firmware: qemu_fw_cfg: remove sysfs entries explicitly

Explicitly remove the file entries from sysfs before dropping the final
reference for symmetry reasons and for consistency with the rest of the
driver.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211201132528.30025-5-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/qemu_fw_cfg.c