• Antti Palosaari's avatar
    [media] e4000: various small changes · f8b9b871
    Antti Palosaari authored
    * Rename device state from 's' to 'dev'.
    * Move single include to driver private header.
    * Change error handling type of each function to one I tend use
    nowadays.
    * Remove dummy register write from init. Even Windows driver does this
    multiple times remove it as I have never seen any I2C errors.
    * Define I2C client pointer for each function and use it.
    * Do not clean tuner ops during driver remove - not needed.
    * Disable sysfs device bind / unbind. We are not allowed manually
    bind / unbind device from the driver currently.
    * Rename some other variables.
    Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    f8b9b871
e4000.c 14.8 KB