misc: isa1200: amend data type mismatch

Fix mismatched data type in driver to avoid possible porting issues.

Change-Id: Id5d98339b8f7b6ec1902e66df1e528922e9a4032
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
This commit is contained in:
Chun Zhang 2014-01-30 18:45:09 -08:00
parent fdc49c465e
commit 580b8a119b

View file

@ -54,7 +54,7 @@ struct isa1200_chip {
struct clk *pwm_clk;
};
static int isa1200_read_reg(struct i2c_client *client, int reg)
static int isa1200_read_reg(struct i2c_client *client, u8 reg)
{
int ret;
@ -65,7 +65,7 @@ static int isa1200_read_reg(struct i2c_client *client, int reg)
return ret;
}
static int isa1200_write_reg(struct i2c_client *client, int reg, u8 value)
static int isa1200_write_reg(struct i2c_client *client, u8 reg, u8 value)
{
int ret;