Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d88b93b authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Simplify sysfs ROM cleanup



The value of pdev->rom_attr is the definitive indicator of the fact that
we're created a sysfs attribute.  Check that rather than rom_size, which is
only used incidentally when deciding whether to create a sysfs attribute.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent d9c8bea1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment