aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-08-29 04:30:06 +0000
committerWarner Losh <imp@FreeBSD.org>2020-08-29 04:30:06 +0000
commit887611b1227c95b8d5588f920822435a7021fd2a (patch)
treec41b465d08edd734fe094c49cf0f2a73e4f64a0b /sys/arm
parentbca8f35f285b3dcf79807f1cee69e5b1647c5243 (diff)
downloadsrc-887611b1227c95b8d5588f920822435a7021fd2a.tar.gz
src-887611b1227c95b8d5588f920822435a7021fd2a.zip
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
Notes
Notes: svn path=/head/; revision=364945
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/ti/am335x/am335x_pmic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/ti/am335x/am335x_pmic.c b/sys/arm/ti/am335x/am335x_pmic.c
index 50c359a8dd2e..0b0782ab72a6 100644
--- a/sys/arm/ti/am335x/am335x_pmic.c
+++ b/sys/arm/ti/am335x/am335x_pmic.c
@@ -113,7 +113,7 @@ am335x_pmic_intr(void *arg)
if (int_reg.aci) {
snprintf(notify_buf, sizeof(notify_buf), "notify=0x%02x",
status_reg.acpwr);
- devctl_notify_f("ACPI", "ACAD", "power", notify_buf, M_NOWAIT);
+ devctl_notify("ACPI", "ACAD", "power", notify_buf);
}
}