newbus: Remove deprecated "kern" system name for resume events.

The new "kernel" system name is the one that's documented and has
been generated for a year now. Remove the old one now that 14.0
is getting close.

Sponsored by:		Netflix
Reviewed by:		bapt
Differential Revision:	https://reviews.freebsd.org/D37582
This commit is contained in:
Warner Losh 2022-12-02 10:47:01 -07:00
parent d2ce00e9a6
commit 8d147537bf
2 changed files with 1 additions and 10 deletions

View File

@ -40,7 +40,7 @@
.\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
.\" SOFTWARE.
.\"
.Dd September 22, 2022
.Dd December 1, 2022
.Dt DEVD.CONF 5
.Os
.Sh NAME
@ -475,14 +475,6 @@ The network interface address removed.
.Pp
.Bl -column "System" "Subsystem" "1234567" -compact
.Sy "System" Ta Sy "Subsystem" Ta Sy "Type" Ta Sy "Description"
.It Li kern Ta Li power Ta Li resume Ta
Notification that the system has woken from the suspended state.
Note: this notification is deprecated and will be removed in
.Fx 14.0 .
.El
.Pp
.Bl -column "System" "Subsystem" "1234567" -compact
.Sy "System" Ta Sy "Subsystem" Ta Sy "Type" Ta Sy "Description"
.It Li kernel Ta Li signal Ta Li coredump Ta
Notification that a process has crashed and dumped core.
.It Li kernel Ta Li power Ta Li resume Ta

View File

@ -4704,7 +4704,6 @@ root_resume(device_t dev)
error = bus_generic_resume(dev);
if (error == 0) {
devctl_notify("kern", "power", "resume", NULL); /* Deprecated gone in 14 */
devctl_notify("kernel", "power", "resume", NULL);
}
return (error);