Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198293
b: refs/heads/master
c: 0c53b9f
h: refs/heads/master
i:
  198291: 230038e
v: v3
  • Loading branch information
Michael Hennerich authored and Linus Torvalds committed May 25, 2010
1 parent 4112f11 commit 565277f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0993dbedf2cc2f5fd0701fa3b27afdd303536b87
refs/heads/master: 0c53b9fbcca8870e4f4b248f4ed5fdadd43a01b6
4 changes: 2 additions & 2 deletions trunk/drivers/misc/ad525x_dpot.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ enum dpot_devid {
#define AD525X_INC_ALL (AD525X_I2C_CMD | (0xB << 3))

static s32 ad525x_read(struct i2c_client *client, u8 reg);
static s32 ad525x_write(struct i2c_client *client, u8 reg, u8 value);
static s32 ad525x_write(struct i2c_client *client, u8 reg, u16 value);

/*
* Client data (each client gets its own)
Expand Down Expand Up @@ -296,7 +296,7 @@ static s32 ad525x_read(struct i2c_client *client, u8 reg)
* A negative return value indicates an error occurred while reading
* the register.
*/
static s32 ad525x_write(struct i2c_client *client, u8 reg, u8 value)
static s32 ad525x_write(struct i2c_client *client, u8 reg, u16 value)
{
struct dpot_data *data = i2c_get_clientdata(client);

Expand Down

0 comments on commit 565277f

Please sign in to comment.