]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Retire devctl_notify_f()
authorWarner Losh <imp@FreeBSD.org>
Sat, 29 Aug 2020 04:30:06 +0000 (04:30 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sat, 29 Aug 2020 04:30:06 +0000 (04:30 +0000)
commit887611b1227c95b8d5588f920822435a7021fd2a
treec41b465d08edd734fe094c49cf0f2a73e4f64a0b
parentbca8f35f285b3dcf79807f1cee69e5b1647c5243
Retire devctl_notify_f()

devctl_notify_f isn't needed, so retire it. The flags argument is now
unused, so rather than keep it around, retire it. Convert all old
users of it to devctl_notify(). This path no longer sleeps, so is safe
to call from any context. Since it doesn't sleep, it doesn't need to
know if it is OK to sleep or not.

Reviewed by: markj@
Differential Revision: https://reviews.freebsd.org/D26140
sys/arm/ti/am335x/am335x_pmic.c
sys/geom/geom_dev.c
sys/kern/kern_conf.c
sys/kern/kern_rctl.c
sys/kern/subr_bus.c
sys/sys/devctl.h