diff options
author | Wolfgang Denk <wd@denx.de> | 2013-10-04 17:43:24 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-14 16:06:54 -0400 |
commit | 93e1459641e758d2b096d3f1b39414a39bb314f8 (patch) | |
tree | 3780156a164d3924a2412354872203e4b46f8592 /doc/driver-model/UDM-spi.txt | |
parent | 3765b3e7bd0f8e46914d417f29cbcb0c72b1acf7 (diff) | |
download | u-boot-93e1459641e758d2b096d3f1b39414a39bb314f8.tar.gz u-boot-93e1459641e758d2b096d3f1b39414a39bb314f8.tar.xz u-boot-93e1459641e758d2b096d3f1b39414a39bb314f8.zip |
Coding Style cleanup: replace leading SPACEs by TABs
Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Drop changes for PEP 4 following python tools]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'doc/driver-model/UDM-spi.txt')
-rw-r--r-- | doc/driver-model/UDM-spi.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/driver-model/UDM-spi.txt b/doc/driver-model/UDM-spi.txt index 7442a32bd0..6e6acc8787 100644 --- a/doc/driver-model/UDM-spi.txt +++ b/doc/driver-model/UDM-spi.txt @@ -15,12 +15,12 @@ I) Overview void spi_init(void); struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, - unsigned int max_hz, unsigned int mode); + unsigned int max_hz, unsigned int mode); void spi_free_slave(struct spi_slave *slave); int spi_claim_bus(struct spi_slave *slave); void spi_release_bus(struct spi_slave *slave); int spi_xfer(struct spi_slave *slave, unsigned int bitlen, - const void *dout, void *din, unsigned long flags); + const void *dout, void *din, unsigned long flags); int spi_cs_is_valid(unsigned int bus, unsigned int cs); void spi_cs_activate(struct spi_slave *slave); void spi_cs_deactivate(struct spi_slave *slave); @@ -69,13 +69,13 @@ II) Approach struct ops { int (*spi_request_bus)(struct instance *i, unsigned int bus, - unsigned int cs, unsigned int max_hz, - unsigned int mode); + unsigned int cs, unsigned int max_hz, + unsigned int mode); void (*spi_release_bus)(struct instance *i); int (*spi_xfer) (struct instance *i, unsigned int bitlen, - const void *dout, void *din, unsigned long flags); + const void *dout, void *din, unsigned long flags); int (*spi_cs_is_valid)(struct instance *i, unsigned int bus, - unsigned int cs); + unsigned int cs); void (*spi_cs_activate)(struct instance *i); void (*spi_cs_deactivate)(struct instance *i); void (*spi_set_speed)(struct instance *i, uint hz); |