platform/x86: int1092: Fix non sequential device mode handling
SAR information from BIOS may come in non sequential pattern.
To overcome the issue, a check is made to extract the right SAR
information using the device mode which is currently being used.
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Shravan S <email@example.com>
Signed-off-by: Hans de Goede <firstname.lastname@example.org>
Reviewed-by: Hans de Goede <email@example.com>
2 files changed