On Friday, October 27, 2017 9:26:10 AM CET Jeffy Chen wrote:
> Allow platforms not to provide some of the pci_platform_pm_ops's
> callbacks.
So?
What exactly is wrong with having empty ops in there?
Is it really better to have everyone do extra checks every time an op is
invoked even when all of
Allow platforms not to provide some of the pci_platform_pm_ops's
callbacks.
Also change the return value from -ENOSYS to -ENODEV for:
warning: drivers/pci/pci.c,594: ENOSYS means 'invalid syscall nr' and nothing
else
Signed-off-by: Jeffy Chen
---
Changes in v10: None
Changes in v9: None
Change
2 matches
Mail list logo