diff options
Diffstat (limited to 'Documentation/i2c/upgrading-clients')
-rw-r--r-- | Documentation/i2c/upgrading-clients | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/i2c/upgrading-clients b/Documentation/i2c/upgrading-clients index d6991625c407..8e5fbd88c7d1 100644 --- a/Documentation/i2c/upgrading-clients +++ b/Documentation/i2c/upgrading-clients | |||
@@ -196,8 +196,8 @@ static int example_probe(struct i2c_client *i2c_client, | |||
196 | 196 | ||
197 | Update the detach method, by changing the name to _remove and | 197 | Update the detach method, by changing the name to _remove and |
198 | to delete the i2c_detach_client call. It is possible that you | 198 | to delete the i2c_detach_client call. It is possible that you |
199 | can also remove the ret variable as it is not not needed for | 199 | can also remove the ret variable as it is not needed for any |
200 | any of the core functions. | 200 | of the core functions. |
201 | 201 | ||
202 | - static int example_detach(struct i2c_client *client) | 202 | - static int example_detach(struct i2c_client *client) |
203 | + static int example_remove(struct i2c_client *client) | 203 | + static int example_remove(struct i2c_client *client) |