mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
vga_pci: Use bus_generic_* directly instead of wrappers
Differential Revision: https://reviews.freebsd.org/D47375
This commit is contained in:
parent
48a88a4ee9
commit
c7d29adcb3
1 changed files with 2 additions and 16 deletions
|
|
@ -378,13 +378,6 @@ vga_pci_attach(device_t dev)
|
|||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
vga_pci_suspend(device_t dev)
|
||||
{
|
||||
|
||||
return (bus_generic_suspend(dev));
|
||||
}
|
||||
|
||||
static int
|
||||
vga_pci_detach(device_t dev)
|
||||
{
|
||||
|
|
@ -396,13 +389,6 @@ vga_pci_detach(device_t dev)
|
|||
return (error);
|
||||
}
|
||||
|
||||
static int
|
||||
vga_pci_resume(device_t dev)
|
||||
{
|
||||
|
||||
return (bus_generic_resume(dev));
|
||||
}
|
||||
|
||||
/* Bus interface. */
|
||||
|
||||
static int
|
||||
|
|
@ -732,9 +718,9 @@ static device_method_t vga_pci_methods[] = {
|
|||
DEVMETHOD(device_probe, vga_pci_probe),
|
||||
DEVMETHOD(device_attach, vga_pci_attach),
|
||||
DEVMETHOD(device_shutdown, bus_generic_shutdown),
|
||||
DEVMETHOD(device_suspend, vga_pci_suspend),
|
||||
DEVMETHOD(device_suspend, bus_generic_suspend),
|
||||
DEVMETHOD(device_detach, vga_pci_detach),
|
||||
DEVMETHOD(device_resume, vga_pci_resume),
|
||||
DEVMETHOD(device_resume, bus_generic_resume),
|
||||
|
||||
/* Bus interface */
|
||||
DEVMETHOD(bus_read_ivar, vga_pci_read_ivar),
|
||||
|
|
|
|||
Loading…
Reference in a new issue