fixup: pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander
This fixes 4a1528ea3c in 6.1 kernel.
Change remove function signature: return void.
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
This commit is contained in:
parent
22da203ef8
commit
2b7263cccc
1 changed files with 4 additions and 4 deletions
|
|
@ -1069,13 +1069,13 @@ err_disable_vregs:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int aw9523_remove(struct i2c_client *client)
|
static void aw9523_remove(struct i2c_client *client)
|
||||||
{
|
{
|
||||||
struct aw9523 *awi = i2c_get_clientdata(client);
|
struct aw9523 *awi = i2c_get_clientdata(client);
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (!awi)
|
if (!awi)
|
||||||
return 0;
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If the chip VIO is connected to a regulator that we can turn
|
* If the chip VIO is connected to a regulator that we can turn
|
||||||
|
|
@ -1090,11 +1090,11 @@ static int aw9523_remove(struct i2c_client *client)
|
||||||
ret = aw9523_hw_init(awi);
|
ret = aw9523_hw_init(awi);
|
||||||
mutex_unlock(&awi->i2c_lock);
|
mutex_unlock(&awi->i2c_lock);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mutex_destroy(&awi->i2c_lock);
|
mutex_destroy(&awi->i2c_lock);
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct i2c_device_id aw9523_i2c_id_table[] = {
|
static const struct i2c_device_id aw9523_i2c_id_table[] = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue