commit | d2c2f6a47633a36bc8db8c802f7c284da36a7a53 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Oct 22 16:44:40 2015 +0300 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 23 08:56:05 2015 +0900 |
tree | ddccc26a96ae33c849d0b192a09d76d405056c24 | |
parent | d74c4b1c61ecc5ad8158ac649245fdfc9601c1b5 [diff] |
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>