1 comment:
File src/drivers/intel/dptf/dptf.c:
if (!dev->enabled)
return;
I wonder - shouldn't we fix this at the source? i.e. the caller should not make the `acpi_fill_ssdt` call if device is not enabled. I think we have been adding these checks for a while now, but it seems unnecessary within the individual drivers. With the check at the caller site, we can drop all the dev->enabled checks from all these individual drivers. Thoughts?
To view, visit change 47148. To unsubscribe, or for help writing mail filters, visit settings.