diff options
| author | Andy Shevchenko <[email protected]> | 2019-10-18 13:54:25 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-10-18 18:24:50 +0100 |
| commit | 4f3d957718e7f0ac2b033dbf48c7cddecd0a8dd3 (patch) | |
| tree | 2ace0dccfa9420fe3c9aea8b475245f4c9cd363a /include/linux | |
| parent | e74dc5c763448004ec8add422e9db53ee246acce (diff) | |
spi: pxa2xx: No need to keep pointer to platform device
There is no need to keep a pointer to the platform device. Currently there are
no users of it directly, and if there will be in the future we may restore it
from pointer to the struct device.
Convert all users at the same time.
Cc: Russell King <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pxa2xx_ssp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h index a5d1837e4f35..6facf27865f9 100644 --- a/include/linux/pxa2xx_ssp.h +++ b/include/linux/pxa2xx_ssp.h @@ -206,7 +206,7 @@ enum pxa_ssp_type { }; struct ssp_device { - struct platform_device *pdev; + struct device *dev; struct list_head node; struct clk *clk; |