mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Drop unused client id.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2867 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
dc6501f36b
commit
1756f8d8dd
45 files changed
-185
No files matched your search
@@ -252,8 +252,6 @@ static void mtp008_sens(struct i2c_client *client, int operation,
|
||||
int ctl_name, int *nrels_mag, long *results);
|
||||
static void mtp008_getsensortype(struct mtp008_data *data, u8 inp);
|
||||
|
||||
static int mtp008_id = 0;
|
||||
|
||||
static struct i2c_driver mtp008_driver =
|
||||
{
|
||||
.name = "MTP008 sensor driver",
|
||||
@@ -428,8 +426,6 @@ int mtp008_detect(struct i2c_adapter *adapter, int address,
|
||||
client_name = "MTP008 chip";
|
||||
strcpy(new_client->name, client_name);
|
||||
data->type = kind;
|
||||
|
||||
new_client->id = mtp008_id++;
|
||||
data->valid = 0;
|
||||
init_MUTEX(&data->update_lock);
|
||||
|
||||
|
||||
Reference in new issue
Block a user