diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2015-09-18 03:14:41 -0400 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-09-20 13:37:20 -0400 |
commit | 5cfc5220a63b1008e7198fb4f91c3ef763e46657 (patch) | |
tree | 3cc44071b296577ab70994978e143b44f43d1e1a /Documentation/spi | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) |
ARM: pxa: Remove unused clock_enable field from struct pxa2xx_spi_master
Use for struct pxa2xx_spi_master clock_enable field was removed years ago
from the pxa2xx-spi driver by the commit 2f1a74e5a2de ("[ARM] pxa: make
pxa2xx_spi driver use ssp_request()/ssp_free()").
Therefore remove it from structure definition, documentation and from
couple affected board files.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'Documentation/spi')
-rw-r--r-- | Documentation/spi/pxa2xx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/spi/pxa2xx b/Documentation/spi/pxa2xx index 3352f97430e4..13a0b7fb192f 100644 --- a/Documentation/spi/pxa2xx +++ b/Documentation/spi/pxa2xx | |||
@@ -22,15 +22,10 @@ Typically a SPI master is defined in the arch/.../mach-*/board-*.c as a | |||
22 | found in include/linux/spi/pxa2xx_spi.h: | 22 | found in include/linux/spi/pxa2xx_spi.h: |
23 | 23 | ||
24 | struct pxa2xx_spi_master { | 24 | struct pxa2xx_spi_master { |
25 | u32 clock_enable; | ||
26 | u16 num_chipselect; | 25 | u16 num_chipselect; |
27 | u8 enable_dma; | 26 | u8 enable_dma; |
28 | }; | 27 | }; |
29 | 28 | ||
30 | The "pxa2xx_spi_master.clock_enable" field is used to enable/disable the | ||
31 | corresponding SSP peripheral block in the "Clock Enable Register (CKEN"). See | ||
32 | the "PXA2xx Developer Manual" section "Clocks and Power Management". | ||
33 | |||
34 | The "pxa2xx_spi_master.num_chipselect" field is used to determine the number of | 29 | The "pxa2xx_spi_master.num_chipselect" field is used to determine the number of |
35 | slave device (chips) attached to this SPI master. | 30 | slave device (chips) attached to this SPI master. |
36 | 31 | ||
@@ -57,7 +52,6 @@ static struct resource pxa_spi_nssp_resources[] = { | |||
57 | }; | 52 | }; |
58 | 53 | ||
59 | static struct pxa2xx_spi_master pxa_nssp_master_info = { | 54 | static struct pxa2xx_spi_master pxa_nssp_master_info = { |
60 | .clock_enable = CKEN_NSSP, /* NSSP Peripheral clock */ | ||
61 | .num_chipselect = 1, /* Matches the number of chips attached to NSSP */ | 55 | .num_chipselect = 1, /* Matches the number of chips attached to NSSP */ |
62 | .enable_dma = 1, /* Enables NSSP DMA */ | 56 | .enable_dma = 1, /* Enables NSSP DMA */ |
63 | }; | 57 | }; |