[media] e4000: various small changes

* 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: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Antti Palosaari
2015-04-21 17:13:39 -03:00
committed by Mauro Carvalho Chehab
父節點 0e3a71c374
當前提交 f8b9b871f8
共有 3 個文件被更改,包括 178 次插入186 次删除

查看文件

@@ -21,7 +21,6 @@
#ifndef E4000_H
#define E4000_H
#include <linux/kconfig.h>
#include "dvb_frontend.h"
/*