projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1681956
)
pinctrl: fixup for "i2c: Make remove callback return void"
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 26 Aug 2022 05:26:50 +0000
(15:26 +1000)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 26 Aug 2022 13:16:56 +0000
(15:16 +0200)
Fix up the build.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link:
https://lore.kernel.org/r/20220826152650.2c55e482@canb.auug.org.au
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-cy8c95x0.c
b/drivers/pinctrl/pinctrl-cy8c95x0.c
index a29df0920f4f4083bfa530bc0d398d8ef9cf8020..05791212822e539e13fe7d8cb28703a8295744ae 100644
(file)
--- a/
drivers/pinctrl/pinctrl-cy8c95x0.c
+++ b/
drivers/pinctrl/pinctrl-cy8c95x0.c
@@
-1352,14
+1352,12
@@
err_exit:
return ret;
}
-static
int
cy8c95x0_remove(struct i2c_client *client)
+static
void
cy8c95x0_remove(struct i2c_client *client)
{
struct cy8c95x0_pinctrl *chip = i2c_get_clientdata(client);
if (!IS_ERR_OR_NULL(chip->regulator))
regulator_disable(chip->regulator);
-
- return 0;
}
static struct i2c_driver cy8c95x0_driver = {