Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23257
b: refs/heads/master
c: 0cbcb4d
h: refs/heads/master
i:
  23255: cea1935
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Mar 23, 2006
1 parent ab49baa commit db03614
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c006705e0f6a195d122be8d5344a4257c269f559
refs/heads/master: 0cbcb4d39a83d4df7e45c13b5ebd9fe73e025237
4 changes: 0 additions & 4 deletions trunk/drivers/i2c/busses/i2c-ali1535.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <asm/io.h>


Expand Down Expand Up @@ -136,7 +135,6 @@

static struct pci_driver ali1535_driver;
static unsigned short ali1535_smba;
static DEFINE_MUTEX(i2c_ali1535_mutex);

/* Detect whether a ALI1535 can be found, and initialize it, where necessary.
Note the differences between kernels with the old PCI BIOS interface and
Expand Down Expand Up @@ -345,7 +343,6 @@ static s32 ali1535_access(struct i2c_adapter *adap, u16 addr,
int timeout;
s32 result = 0;

mutex_lock(&i2c_ali1535_mutex);
/* make sure SMBus is idle */
temp = inb_p(SMBHSTSTS);
for (timeout = 0;
Expand Down Expand Up @@ -460,7 +457,6 @@ static s32 ali1535_access(struct i2c_adapter *adap, u16 addr,
break;
}
EXIT:
mutex_unlock(&i2c_ali1535_mutex);
return result;
}

Expand Down

0 comments on commit db03614

Please sign in to comment.