aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-12-05 10:53:05 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-08 14:33:19 -0500
commit94386ab0b4c5a4e15afae8542cb01caa2ff37594 (patch)
tree5d6986be5486537c2a50f025a06962a195bd1838 /drivers/ata
parentc03f2c5368183687660b1d39350a153aeb8a1a6a (diff)
staging:iio: 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. The patch was generated using the following coccinelle semantic patch: // <smpl> @@ identifier _driver; @@ struct spi_driver _driver = { .driver = { - .bus = &spi_bus_type, }, }; // </smpl> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions