Staging: media: Use module_i2c_driver
authorVaishali Thakkar <vthakkar1994@gmail.com>
Wed, 18 Mar 2015 07:00:44 +0000 (12:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 09:46:08 +0000 (10:46 +0100)
commit4c205ab53489894c77f81fe9a0c0ff6345b83e76
tree6a49e506d8f071c904a4a497cb3d2bb55d8870fd
parent70837c1292c7a04c8fd0b940be70775b79536d50
Staging: media: Use module_i2c_driver

Macro module_i2c_driver is used for drivers whose init
and exit paths does only register and unregister to i2c
API. So, here remove some boilerplate code by using
module_i2c_driver.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/bcm2048/radio-bcm2048.c