commit | ae6ae6fec3f7d6919e0146996df37b665c75f662 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Nov 16 10:13:39 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Nov 17 12:15:40 2011 -0800 |
tree | 4748d81f7f26faffe28fbd19645546a8e23a15ea | |
parent | 6e5af184f810f6150e07339bd23a09c498739c82 [diff] |
staging:iio: Use module_spi_driver to register SPI driver Use the newly introduced module_spi_driver macro for registering SPI drivers. This allows us to remove a few lines of boilerplate code. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>