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: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#define KP_SPI_REG_STATUS_RXFFE 0x40
#define KP_SPI_REG_STATUS_RXFFF 0x80
-
-
/******************
* SPI Structures *
******************/
unsigned int pin_dir:1;
};
-
struct kp_spi_controller_state {
void __iomem *base;
unsigned long phys;
s64 conf_cache;
};
-
union kp_spi_config {
/* use this to access individual elements */
struct __attribute__((packed)) spi_config_bitfield {
u32 reg;
};
-
-
union kp_spi_status {
struct __attribute__((packed)) spi_status_bitfield {
unsigned int rx : 1; /* Rx Status */
u32 reg;
};
-
-
union kp_spi_ffctrl {
struct __attribute__((packed)) spi_ffctrl_bitfield {
unsigned int ffstart : 1; /* FIFO Start */
u32 reg;
};
-
-
/***************
* SPI Helpers *
***************/
}
}
-
-
/******************
* Probe / Remove *
******************/
return 0;
}
-
static struct platform_driver kp_spi_driver = {
.driver = {
.name = KP_DRIVER_NAME_SPI,