PCI: Use device_lock_assert() to verify device lock is held

Multiple function comments say the function should be called with
device_lock held. Check that by calling device_lock_assert().

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260116125742.1890-3-ilpo.jarvinen@linux.intel.com
This commit is contained in:
Ilpo Järvinen 2026-01-16 14:57:41 +02:00 • committed by Bjorn Helgaas
commit f06e0ad226