gpio: nca9539: Make remove return void

Change-Id: Iea6faa2956a5fa334e43b94cf47f8c609c9e317e
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
This commit is contained in:
Cody Xie
2024-01-15 17:53:59 +08:00
parent 4208d76e0c
commit 2d0fac2bdb

View File

@@ -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[] = {