Commit 747d844e authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] SPI: spi whitespace fixes

This removes superfluous whitespace in the <linux/spi/spi.h> header.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e0c9905e
...@@ -36,15 +36,15 @@ extern struct bus_type spi_bus_type; ...@@ -36,15 +36,15 @@ extern struct bus_type spi_bus_type;
* @mode: The spi mode defines how data is clocked out and in. * @mode: The spi mode defines how data is clocked out and in.
* This may be changed by the device's driver. * This may be changed by the device's driver.
* @bits_per_word: Data transfers involve one or more words; word sizes * @bits_per_word: Data transfers involve one or more words; word sizes
* like eight or 12 bits are common. In-memory wordsizes are * like eight or 12 bits are common. In-memory wordsizes are
* powers of two bytes (e.g. 20 bit samples use 32 bits). * powers of two bytes (e.g. 20 bit samples use 32 bits).
* This may be changed by the device's driver. * This may be changed by the device's driver.
* The spi_transfer.bits_per_word can override this for each transfer. * The spi_transfer.bits_per_word can override this for each transfer.
* @irq: Negative, or the number passed to request_irq() to receive * @irq: Negative, or the number passed to request_irq() to receive
* interrupts from this device. * interrupts from this device.
* @controller_state: Controller's runtime state * @controller_state: Controller's runtime state
* @controller_data: Board-specific definitions for controller, such as * @controller_data: Board-specific definitions for controller, such as
* FIFO initialization parameters; from board_info.controller_data * FIFO initialization parameters; from board_info.controller_data
* *
* An spi_device is used to interchange data between an SPI slave * An spi_device is used to interchange data between an SPI slave
* (usually a discrete chip) and CPU memory. * (usually a discrete chip) and CPU memory.
...@@ -145,13 +145,13 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) ...@@ -145,13 +145,13 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
* struct spi_master - interface to SPI master controller * struct spi_master - interface to SPI master controller
* @cdev: class interface to this driver * @cdev: class interface to this driver
* @bus_num: board-specific (and often SOC-specific) identifier for a * @bus_num: board-specific (and often SOC-specific) identifier for a
* given SPI controller. * given SPI controller.
* @num_chipselect: chipselects are used to distinguish individual * @num_chipselect: chipselects are used to distinguish individual
* SPI slaves, and are numbered from zero to num_chipselects. * SPI slaves, and are numbered from zero to num_chipselects.
* each slave has a chipselect signal, but it's common that not * each slave has a chipselect signal, but it's common that not
* every chipselect is connected to a slave. * every chipselect is connected to a slave.
* @setup: updates the device mode and clocking records used by a * @setup: updates the device mode and clocking records used by a
* device's SPI controller; protocol code may call this. * device's SPI controller; protocol code may call this.
* @transfer: adds a message to the controller's transfer queue. * @transfer: adds a message to the controller's transfer queue.
* @cleanup: frees controller-specific state * @cleanup: frees controller-specific state
* *
...@@ -276,8 +276,8 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum); ...@@ -276,8 +276,8 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);
* for this transfer. If 0 the default (from spi_device) is used. * for this transfer. If 0 the default (from spi_device) is used.
* @cs_change: affects chipselect after this transfer completes * @cs_change: affects chipselect after this transfer completes
* @delay_usecs: microseconds to delay after this transfer before * @delay_usecs: microseconds to delay after this transfer before
* (optionally) changing the chipselect status, then starting * (optionally) changing the chipselect status, then starting
* the next transfer or completing this spi_message. * the next transfer or completing this spi_message.
* @transfer_list: transfers are sequenced through spi_message.transfers * @transfer_list: transfers are sequenced through spi_message.transfers
* *
* SPI transfers always write the same number of bytes as they read. * SPI transfers always write the same number of bytes as they read.
...@@ -364,7 +364,7 @@ struct spi_transfer { ...@@ -364,7 +364,7 @@ struct spi_transfer {
* and its transfers, ignore them until its completion callback. * and its transfers, ignore them until its completion callback.
*/ */
struct spi_message { struct spi_message {
struct list_head transfers; struct list_head transfers;
struct spi_device *spi; struct spi_device *spi;
...@@ -382,7 +382,7 @@ struct spi_message { ...@@ -382,7 +382,7 @@ struct spi_message {
*/ */
/* completion is reported through a callback */ /* completion is reported through a callback */
void (*complete)(void *context); void (*complete)(void *context);
void *context; void *context;
unsigned actual_length; unsigned actual_length;
int status; int status;
......
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