Searched hist:d2c2f6a47633a36bc8db8c802f7c284da36a7a53 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-pxa2xx.c | diff d2c2f6a47633a36bc8db8c802f7c284da36a7a53 Thu Oct 22 08:44:40 CDT 2015 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>
|