diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-23 21:24:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-10 13:17:11 +0100 |
commit | c3dce24c40cc7cd07deca5b81b763eae66f30856 (patch) | |
tree | d6e04a893934b585627e86bae53b3632dd38d0be /drivers/spi/spi-pxa2xx.h | |
parent | 9e43c9a8d5de4810ea9688519d55b5e46784d84a (diff) | |
download | linux-stable-c3dce24c40cc7cd07deca5b81b763eae66f30856.tar.gz linux-stable-c3dce24c40cc7cd07deca5b81b763eae66f30856.tar.bz2 linux-stable-c3dce24c40cc7cd07deca5b81b763eae66f30856.zip |
spi: pxa2xx: Utilize struct device from struct ssp_device
We have a duplication of struct device in the struct driver_data,
get rid of it and reuse member from struct ssp_device instead.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210423182441.50272-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index ad9980ebefa6..6724d7e056ce 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h @@ -12,7 +12,6 @@ #include <linux/errno.h> #include <linux/io.h> #include <linux/interrupt.h> -#include <linux/platform_device.h> #include <linux/pxa2xx_ssp.h> #include <linux/scatterlist.h> #include <linux/sizes.h> @@ -20,9 +19,6 @@ #include <linux/spi/pxa2xx_spi.h> struct driver_data { - /* Driver model hookup */ - struct platform_device *pdev; - /* SSP Info */ struct ssp_device *ssp; |