diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-10-22 16:44:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-23 02:56:05 +0300 |
commit | d2c2f6a47633a36bc8db8c802f7c284da36a7a53 (patch) | |
tree | ddccc26a96ae33c849d0b192a09d76d405056c24 /drivers/spi/spi.c | |
parent | d74c4b1c61ecc5ad8158ac649245fdfc9601c1b5 (diff) | |
download | linux-d2c2f6a47633a36bc8db8c802f7c284da36a7a53.tar.xz |
spi: pxa2xx: derive struct chip_data from struct drv_data
Since we call pxa2xx_ssp_get_clk_div() from pump_transfers() we may derive
pointer to struct chip_data from struct drv_data like it's done in the rest
of the functions. This will make it less errorprone.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions