svn commit: r364356 - head/sys/arm/allwinner
Warner Losh
imp at FreeBSD.org
Tue Aug 18 20:20:46 UTC 2020
Author: imp
Date: Tue Aug 18 20:20:45 2020
New Revision: 364356
URL: https://svnweb.freebsd.org/changeset/base/364356
Log:
None of system, subsystem, or type may have spaces in them. Convert the spaces
to dashes.
Approved by: manu@
Modified:
head/sys/arm/allwinner/axp209.c
head/sys/arm/allwinner/axp81x.c
Modified: head/sys/arm/allwinner/axp209.c
==============================================================================
--- head/sys/arm/allwinner/axp209.c Tue Aug 18 19:48:04 2020 (r364355)
+++ head/sys/arm/allwinner/axp209.c Tue Aug 18 20:20:45 2020 (r364356)
@@ -863,9 +863,9 @@ axp2xx_intr(void *arg)
if (reg & AXP2XX_IRQ2_BATT_DISCONN)
devctl_notify("PMU", "Battery", "disconnected", NULL);
if (reg & AXP2XX_IRQ2_BATT_TEMP_LOW)
- devctl_notify("PMU", "Battery", "low temp", NULL);
+ devctl_notify("PMU", "Battery", "low-temp", NULL);
if (reg & AXP2XX_IRQ2_BATT_TEMP_OVER)
- devctl_notify("PMU", "Battery", "high temp", NULL);
+ devctl_notify("PMU", "Battery", "high-temp", NULL);
axp2xx_write(sc->dev, AXP2XX_IRQ2_STATUS, AXP2XX_IRQ_ACK);
}
Modified: head/sys/arm/allwinner/axp81x.c
==============================================================================
--- head/sys/arm/allwinner/axp81x.c Tue Aug 18 19:48:04 2020 (r364355)
+++ head/sys/arm/allwinner/axp81x.c Tue Aug 18 20:20:45 2020 (r364356)
@@ -1118,9 +1118,9 @@ axp8xx_intr(void *arg)
if (bootverbose)
device_printf(dev, "AXP_IRQSTAT4 val: %x\n", val);
if (val & AXP_IRQSTAT4_BATLVL_LO0)
- devctl_notify("PMU", "Battery", "shutdown threshold", NULL);
+ devctl_notify("PMU", "Battery", "shutdown-threshold", NULL);
if (val & AXP_IRQSTAT4_BATLVL_LO1)
- devctl_notify("PMU", "Battery", "warning threshold", NULL);
+ devctl_notify("PMU", "Battery", "warning-threshold", NULL);
/* Acknowledge */
axp8xx_write(dev, AXP_IRQSTAT4, val);
}
More information about the svn-src-all
mailing list