summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-12-05 19:53:05 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-08 23:33:19 +0400
commit94386ab0b4c5a4e15afae8542cb01caa2ff37594 (patch)
tree5d6986be5486537c2a50f025a06962a195bd1838 /include/linux
parentc03f2c5368183687660b1d39350a153aeb8a1a6a (diff)
downloadlinux-94386ab0b4c5a4e15afae8542cb01caa2ff37594.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions