mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
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:
parent
fdc49c465e
commit
580b8a119b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue