-
Bjorn Helgaas authored
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>
Bjorn Helgaas authoredThe 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>
Loading