uart: clean up empty lines in .c and .h files
This commit is contained in:
parent
cea02fc296
commit
bf10325475
@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <contrib/dev/acpica/include/accommon.h>
|
||||
#include <dev/acpica/acpivar.h>
|
||||
|
||||
|
||||
static int uart_acpi_probe(device_t dev);
|
||||
|
||||
static device_method_t uart_acpi_methods[] = {
|
||||
|
@ -53,7 +53,6 @@ static device_method_t uart_pccard_methods[] = {
|
||||
DEVMETHOD(device_probe, uart_pccard_probe),
|
||||
DEVMETHOD(device_attach, uart_pccard_attach),
|
||||
DEVMETHOD(device_detach, uart_bus_detach),
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
@ -202,4 +202,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
|
||||
di->parity = UART_PARITY_NONE;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
@ -217,5 +217,4 @@
|
||||
#define DIS(_bas, _r, _b) CLR((_bas), REG(_r), FLD(_r, _b))
|
||||
#define IS(_bas, _r, _b) IS_SET((_bas), REG(_r), FLD(_r, _b))
|
||||
|
||||
|
||||
#endif /* _UART_DEV_IMX5XX_H */
|
||||
|
@ -283,7 +283,6 @@ static kobj_method_t uart_mu_methods[] = {
|
||||
KOBJMETHOD(uart_transmit, uart_mu_bus_transmit),
|
||||
KOBJMETHOD(uart_grab, uart_mu_bus_grab),
|
||||
KOBJMETHOD(uart_ungrab, uart_mu_bus_ungrab),
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
@ -614,4 +614,3 @@ uart_mvebu_bus_ungrab(struct uart_softc *sc)
|
||||
uart_barrier(bas);
|
||||
uart_unlock(sc->sc_hwmtx);
|
||||
}
|
||||
|
||||
|
@ -317,7 +317,6 @@ static kobj_method_t uart_pl011_methods[] = {
|
||||
KOBJMETHOD(uart_transmit, uart_pl011_bus_transmit),
|
||||
KOBJMETHOD(uart_grab, uart_pl011_bus_grab),
|
||||
KOBJMETHOD(uart_ungrab, uart_pl011_bus_ungrab),
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
@ -331,7 +330,6 @@ static struct uart_class uart_pl011_class = {
|
||||
.uc_rshift = 2
|
||||
};
|
||||
|
||||
|
||||
#ifdef FDT
|
||||
static struct ofw_compat_data fdt_compat_data[] = {
|
||||
{"arm,pl011", (uintptr_t)&uart_pl011_class},
|
||||
|
@ -522,4 +522,3 @@ quicc_bus_ungrab(struct uart_softc *sc)
|
||||
quicc_write2(bas, rb, st | 0x9000);
|
||||
uart_unlock(sc->sc_hwmtx);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user