summaryrefslogtreecommitdiffstats
path: root/sys/arm/freescale
diff options
context:
space:
mode:
authorskra <skra@FreeBSD.org>2016-05-22 09:59:43 +0000
committerskra <skra@FreeBSD.org>2016-05-22 09:59:43 +0000
commita17f3c7f95db602a70e954565d590fed2bff3f90 (patch)
tree315b26604df10b3740ad2ec92f7961da5dbb98f9 /sys/arm/freescale
parentcb152b7815cbe2ee6d48f4d443f3d0f3ee80cb85 (diff)
downloadFreeBSD-src-a17f3c7f95db602a70e954565d590fed2bff3f90.zip
FreeBSD-src-a17f3c7f95db602a70e954565d590fed2bff3f90.tar.gz
Fix some format strings to make them either correct or uniform.
No functional change.
Diffstat (limited to 'sys/arm/freescale')
-rw-r--r--sys/arm/freescale/imx/imx_gpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/freescale/imx/imx_gpio.c b/sys/arm/freescale/imx/imx_gpio.c
index c5f7b8c..7f44845 100644
--- a/sys/arm/freescale/imx/imx_gpio.c
+++ b/sys/arm/freescale/imx/imx_gpio.c
@@ -179,14 +179,14 @@ gpio_pic_map_fdt(device_t dev, u_int ncells, pcell_t *cells, u_int *irqp,
*/
if (ncells != 2) {
- device_printf(sc->dev, "Invalid #interrupt-cells");
+ device_printf(sc->dev, "Invalid #interrupt-cells\n");
return (EINVAL);
}
irq = cells[0];
tripol = cells[1];
if (irq >= sc->gpio_npins) {
- device_printf(sc->dev, "Invalid interrupt number %d", irq);
+ device_printf(sc->dev, "Invalid interrupt number %u\n", irq);
return (EINVAL);
}
switch (tripol) {
@@ -207,7 +207,7 @@ gpio_pic_map_fdt(device_t dev, u_int ncells, pcell_t *cells, u_int *irqp,
pol = INTR_POLARITY_LOW;
break;
default:
- device_printf(sc->dev, "unsupported trigger/polarity 0x%2x\n",
+ device_printf(sc->dev, "Unsupported trigger/polarity 0x%2x\n",
tripol);
return (ENOTSUP);
}
OpenPOWER on IntegriCloud