firmware: qemu_fw_cfg: remove sysfs entries explicitly
authorJohan Hovold <johan@kernel.org>
Wed, 1 Dec 2021 13:25:28 +0000 (14:25 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 14 Jan 2022 23:50:52 +0000 (18:50 -0500)
commit9f8b4ae2ac7dc5ff6e5dfa723c1ef2bad80a8c68
treed6aa260a9d243b44d7bee5e14abfae0fd3edfd09
parent1b656e9aad7f4886ed466094d1dc5ee4dd900d20
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: Michael S. Tsirkin <mst@redhat.com>
drivers/firmware/qemu_fw_cfg.c