Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:52:36 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365151 - head/sys/dev/spibus
Message-ID:  <202009012152.081LqaDS046727@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 }
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012152.081LqaDS046727>