Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 580b8a11 authored by Chun Zhang's avatar Chun Zhang
Browse files

misc: isa1200: amend data type mismatch



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

Change-Id: Id5d98339b8f7b6ec1902e66df1e528922e9a4032
Signed-off-by: default avatarChun Zhang <chunz@codeaurora.org>
parent fdc49c46
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;