Commit 4d632cdb authored by Geordan Neukum's avatar Geordan Neukum Committed by Greg Kroah-Hartman

staging: kpc2000: kpc_spi: Remove unnecessary consecutive newlines

The kpc2000_spi.c file contains instances of unnecessary consecutive
newlines which negatively impact the readability of the file. Remove
all unnecessary consecutive newlines.
Signed-off-by: default avatarGeordan Neukum <gneukum1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fc3e78df
...@@ -97,8 +97,6 @@ static struct spi_board_info p2kr0_board_info[] = { ...@@ -97,8 +97,6 @@ static struct spi_board_info p2kr0_board_info[] = {
#define KP_SPI_REG_STATUS_RXFFE 0x40 #define KP_SPI_REG_STATUS_RXFFE 0x40
#define KP_SPI_REG_STATUS_RXFFF 0x80 #define KP_SPI_REG_STATUS_RXFFF 0x80
/****************** /******************
* SPI Structures * * SPI Structures *
******************/ ******************/
...@@ -111,7 +109,6 @@ struct kp_spi { ...@@ -111,7 +109,6 @@ struct kp_spi {
unsigned int pin_dir:1; unsigned int pin_dir:1;
}; };
struct kp_spi_controller_state { struct kp_spi_controller_state {
void __iomem *base; void __iomem *base;
unsigned long phys; unsigned long phys;
...@@ -120,7 +117,6 @@ struct kp_spi_controller_state { ...@@ -120,7 +117,6 @@ struct kp_spi_controller_state {
s64 conf_cache; s64 conf_cache;
}; };
union kp_spi_config { union kp_spi_config {
/* use this to access individual elements */ /* use this to access individual elements */
struct __attribute__((packed)) spi_config_bitfield { struct __attribute__((packed)) spi_config_bitfield {
...@@ -141,8 +137,6 @@ union kp_spi_config { ...@@ -141,8 +137,6 @@ union kp_spi_config {
u32 reg; u32 reg;
}; };
union kp_spi_status { union kp_spi_status {
struct __attribute__((packed)) spi_status_bitfield { struct __attribute__((packed)) spi_status_bitfield {
unsigned int rx : 1; /* Rx Status */ unsigned int rx : 1; /* Rx Status */
...@@ -158,8 +152,6 @@ union kp_spi_status { ...@@ -158,8 +152,6 @@ union kp_spi_status {
u32 reg; u32 reg;
}; };
union kp_spi_ffctrl { union kp_spi_ffctrl {
struct __attribute__((packed)) spi_ffctrl_bitfield { struct __attribute__((packed)) spi_ffctrl_bitfield {
unsigned int ffstart : 1; /* FIFO Start */ unsigned int ffstart : 1; /* FIFO Start */
...@@ -168,8 +160,6 @@ union kp_spi_ffctrl { ...@@ -168,8 +160,6 @@ union kp_spi_ffctrl {
u32 reg; u32 reg;
}; };
/*************** /***************
* SPI Helpers * * SPI Helpers *
***************/ ***************/
...@@ -445,8 +435,6 @@ kp_spi_cleanup(struct spi_device *spidev) ...@@ -445,8 +435,6 @@ kp_spi_cleanup(struct spi_device *spidev)
} }
} }
/****************** /******************
* Probe / Remove * * Probe / Remove *
******************/ ******************/
...@@ -538,7 +526,6 @@ kp_spi_remove(struct platform_device *pldev) ...@@ -538,7 +526,6 @@ kp_spi_remove(struct platform_device *pldev)
return 0; return 0;
} }
static struct platform_driver kp_spi_driver = { static struct platform_driver kp_spi_driver = {
.driver = { .driver = {
.name = KP_DRIVER_NAME_SPI, .name = KP_DRIVER_NAME_SPI,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment