diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2015-06-23 11:53:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-11 11:10:24 -0300 |
commit | 7ac5f8315e3daf277ae47620bffe412ef2bf3ab4 (patch) | |
tree | 3b4510660a33a56533e2a00f7bc5b0283ed0724f /drivers/media | |
parent | e8e9055594e3d9177416aa4e7ff8619cda3745a9 (diff) | |
download | op-kernel-dev-7ac5f8315e3daf277ae47620bffe412ef2bf3ab4.zip op-kernel-dev-7ac5f8315e3daf277ae47620bffe412ef2bf3ab4.tar.gz |
[media] s5c73m3: Remove redundant spi driver bus initialization
In ancient times it was necessary to manually initialize the bus
field of an spi_driver to spi_bus_type. These days this is done in
spi_register_driver(), so we can drop the manual assignment.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c index 63eb190..fa4a5eb 100644 --- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c +++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c @@ -149,7 +149,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state) spidrv->remove = s5c73m3_spi_remove; spidrv->probe = s5c73m3_spi_probe; spidrv->driver.name = S5C73M3_SPI_DRV_NAME; - spidrv->driver.bus = &spi_bus_type; spidrv->driver.owner = THIS_MODULE; spidrv->driver.of_match_table = s5c73m3_spi_ids; |