]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: No need to keep pointer to platform device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2019 10:54:25 +0000 (13:54 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:24:50 +0000 (18:24 +0100)
commit97c8a7248e293c874a36ddf00a199df98318d45d
tree2ace0dccfa9420fe3c9aea8b475245f4c9cd363a
parentbdf01e73eea55cb0acbf6c34ee44c3af90b20f59
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 <linux@armlinux.org.uk>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20191018105429.82782-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/plat-pxa/ssp.c
drivers/spi/spi-pxa2xx.c
include/linux/pxa2xx_ssp.h
sound/soc/pxa/mmp-sspa.c
sound/soc/pxa/pxa-ssp.c