spibus: clean up empty lines in .c and .h files
This commit is contained in:
parent
c408cf7411
commit
0866e8bcfb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365151
@ -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) */
|
||||
|
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user