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