f2fs: Provide a splice-read wrapper
[linux-block.git] / Documentation / i2c / writing-clients.rst
index 47f7cbf4ed1a666da307a7047023fe3084f01385..b7d3ae7458f8686ac8dd194eb44b76fe4af65b73 100644 (file)
@@ -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