mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
spi: Drop owner assignment from spi_drivers
An spi_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
ca5d248542
commit
3821a065f5
@@ -182,7 +182,6 @@ static int cyttsp_spi_remove(struct spi_device *spi)
|
||||
static struct spi_driver cyttsp_spi_driver = {
|
||||
.driver = {
|
||||
.name = CY_SPI_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &cyttsp_pm_ops,
|
||||
},
|
||||
.probe = cyttsp_spi_probe,
|
||||
|
||||
Reference in New Issue
Block a user