]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5c73m3: Remove redundant spi driver bus initialization
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 23 Jun 2015 14:53:19 +0000 (11:53 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 14:10:24 +0000 (11:10 -0300)
commitc3fee3565662ce27a4a2c61a59f276b72b923894
tree3b4510660a33a56533e2a00f7bc5b0283ed0724f
parentbd3dc37ad000230d2735bb62f3683380fc32a187
[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>
drivers/media/i2c/s5c73m3/s5c73m3-spi.c