svn commit: r365151 - head/sys/dev/spibus
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:52:36 UTC 2020
Author: mjg
Date: Tue Sep 1 21:52:35 2020
New Revision: 365151
URL: https://svnweb.freebsd.org/changeset/base/365151
Log:
spibus: clean up empty lines in .c and .h files
Modified:
head/sys/dev/spibus/spi.h
head/sys/dev/spibus/spigen.c
Modified: head/sys/dev/spibus/spi.h
==============================================================================
--- head/sys/dev/spibus/spi.h Tue Sep 1 21:52:20 2020 (r365150)
+++ head/sys/dev/spibus/spi.h Tue Sep 1 21:52:35 2020 (r365151)
@@ -35,7 +35,6 @@ struct spi_command {
void *rx_data;
uint32_t rx_data_sz;
};
-
#define SPI_COMMAND_INITIALIZER { 0 }
#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */
Modified: head/sys/dev/spibus/spigen.c
==============================================================================
--- head/sys/dev/spibus/spigen.c Tue Sep 1 21:52:20 2020 (r365150)
+++ head/sys/dev/spibus/spigen.c Tue Sep 1 21:52:35 2020 (r365151)
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <sys/rwlock.h>
#include <sys/spigenio.h>
#include <sys/types.h>
-
+
#include <vm/vm.h>
#include <vm/vm_extern.h>
#include <vm/vm_object.h>
@@ -370,7 +370,7 @@ spigen_detach(device_t dev)
if (sc->sc_cdev)
destroy_dev(sc->sc_cdev);
-
+
mtx_destroy(&sc->sc_mtx);
return (0);
@@ -383,7 +383,6 @@ static device_method_t spigen_methods[] = {
DEVMETHOD(device_probe, spigen_probe),
DEVMETHOD(device_attach, spigen_attach),
DEVMETHOD(device_detach, spigen_detach),
-
{ 0, 0 }
};
More information about the svn-src-all
mailing list