diff options
author | Linus Walleij | 2022-08-26 15:14:33 +0200 |
---|---|---|
committer | Linus Walleij | 2022-08-26 15:14:33 +0200 |
commit | 1681956cb79c99371024cec0b9536fbdd73d04c3 (patch) | |
tree | 434a943c22e9ce78743358276dc4e5c5d0d10d01 /Documentation | |
parent | 0684bc79cd52edca88e430b177f06d980aed5779 (diff) | |
parent | ed5c2f5fd10dda07263f79f338a512c0f49f76f5 (diff) |
Merge branch 'i2c/make_remove_callback_void-immutable' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into devel
This branch is needed to make the i2c driver remove() callback in new
driver compile properly.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/i2c/writing-clients.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/i2c/writing-clients.rst b/Documentation/i2c/writing-clients.rst index e3b126cf4a3b..c1b46844b0fb 100644 --- a/Documentation/i2c/writing-clients.rst +++ b/Documentation/i2c/writing-clients.rst @@ -156,7 +156,7 @@ those devices, and a remove() method to unbind. :: static int foo_probe(struct i2c_client *client); - static int foo_remove(struct i2c_client *client); + static void foo_remove(struct i2c_client *client); Remember that the i2c_driver does not create those client handles. The handle may be used during foo_probe(). If foo_probe() reports success |