diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-11-16 09:13:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-17 20:15:39 (GMT) |
commit | 6e5af184f810f6150e07339bd23a09c498739c82 (patch) | |
tree | 0e0cbc3375b725df5a432f42e9bdca94402dc5d5 /drivers/staging/iio/adc/ad7192.c | |
parent | 3acbb0142d48713a8f65cde678a54f419801c189 (diff) | |
download | linux-fsl-qoriq-6e5af184f810f6150e07339bd23a09c498739c82.tar.xz |
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>
Diffstat (limited to 'drivers/staging/iio/adc/ad7192.c')
0 files changed, 0 insertions, 0 deletions