From 565277f3d562560e733f6ee1f216bd2b22d4f5f3 Mon Sep 17 00:00:00 2001 From: Michael Hennerich Date: Mon, 24 May 2010 14:33:13 -0700 Subject: [PATCH] --- yaml --- r: 198293 b: refs/heads/master c: 0c53b9fbcca8870e4f4b248f4ed5fdadd43a01b6 h: refs/heads/master i: 198291: 230038ef8636c38cbb3a2e27493c1338292b48f5 v: v3 --- [refs] | 2 +- trunk/drivers/misc/ad525x_dpot.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 89e6343cdb53..941b68b48f49 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0993dbedf2cc2f5fd0701fa3b27afdd303536b87 +refs/heads/master: 0c53b9fbcca8870e4f4b248f4ed5fdadd43a01b6 diff --git a/trunk/drivers/misc/ad525x_dpot.c b/trunk/drivers/misc/ad525x_dpot.c index e6b274b5dbd6..ce92088bf0b8 100644 --- a/trunk/drivers/misc/ad525x_dpot.c +++ b/trunk/drivers/misc/ad525x_dpot.c @@ -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) @@ -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);