diff options
author | Andrew F. Davis <afd@ti.com> | 2015-10-23 15:59:10 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-28 02:30:12 +0100 |
commit | ca5d24854210dd02548a080d4271560e926c4fcb (patch) | |
tree | 9123d1c7eda72150413778e7b7b4be9533b65c12 /drivers/spi/spidev.c | |
parent | Linux 4.3-rc1 (diff) | |
download | linux-ca5d24854210dd02548a080d4271560e926c4fcb.tar.xz linux-ca5d24854210dd02548a080d4271560e926c4fcb.zip |
spi: Add THIS_MODULE to spi_driver in SPI core
Add spi_register_driver helper macro that adds THIS_MODULE to
spi_driver for the registering driver. We rename and modify
the existing spi_register_driver to enable this.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions