None of system, subsystem, or type may have spaces in them. Convert the spaces

to dashes.

Approved by: manu@
This commit is contained in:
Warner Losh 2020-08-18 20:20:45 +00:00
parent 277f38abff
commit 80bd2aad68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364356
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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);
}