mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
gpio: nca9539: Make remove return void
Change-Id: Iea6faa2956a5fa334e43b94cf47f8c609c9e317e Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
This commit is contained in:
@@ -292,13 +292,11 @@ err_exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int nca9539_remove(struct i2c_client *client)
|
||||
static void nca9539_remove(struct i2c_client *client)
|
||||
{
|
||||
struct nca9539_chip *chip = i2c_get_clientdata(client);
|
||||
|
||||
regulator_disable(chip->regulator);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct of_device_id nca9539_gpio_of_match_table[] = {
|
||||
|
||||
Reference in New Issue
Block a user