summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-04-23 21:24:30 +0300
committerMark Brown <broonie@kernel.org>2021-05-10 13:17:11 +0100
commitc3dce24c40cc7cd07deca5b81b763eae66f30856 (patch)
treed6e04a893934b585627e86bae53b3632dd38d0be /drivers/spi/spi-pxa2xx.h
parent9e43c9a8d5de4810ea9688519d55b5e46784d84a (diff)
downloadlinux-c3dce24c40cc7cd07deca5b81b763eae66f30856.tar.bz2
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.h4
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;