commit | 9d88b93bea5937c0c5c5fc30089d4e6e3c9ca508 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Tue Mar 01 09:37:10 2016 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Sat Mar 12 06:00:29 2016 -0600 |
tree | a56080a05b7d3b5b5c0b47b77863ce2f5d4d4b56 | |
parent | d9c8bea179a6906a74ea42a2a162c4d1c6d9a16b [diff] |
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: Bjorn Helgaas <bhelgaas@google.com>