Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141086026
D51933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
741 B
Referenced Files
None
Subscribers
None
D51933.diff
View Options
diff --git a/sys/dev/gpio/gpioc.c b/sys/dev/gpio/gpioc.c
--- a/sys/dev/gpio/gpioc.c
+++ b/sys/dev/gpio/gpioc.c
@@ -621,7 +621,6 @@
gpioc_detach(device_t dev)
{
struct gpioc_softc *sc = device_get_softc(dev);
- int err;
if (sc->sc_ctl_dev)
destroy_dev(sc->sc_ctl_dev);
@@ -632,9 +631,6 @@
}
free(sc->sc_pin_intr, M_GPIOC);
- if ((err = bus_generic_detach(dev)) != 0)
- return (err);
-
return (0);
}
@@ -1066,9 +1062,6 @@
DEVMETHOD(device_probe, gpioc_probe),
DEVMETHOD(device_attach, gpioc_attach),
DEVMETHOD(device_detach, gpioc_detach),
- DEVMETHOD(device_shutdown, bus_generic_shutdown),
- DEVMETHOD(device_suspend, bus_generic_suspend),
- DEVMETHOD(device_resume, bus_generic_resume),
DEVMETHOD_END
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 1, 4:29 PM (1 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27440508
Default Alt Text
D51933.diff (741 B)
Attached To
Mode
D51933: gpioc: remove unnecessary bus_generic_* calls
Attached
Detach File
Event Timeline
Log In to Comment