aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/i2c/upgrading-clients
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2013-07-17 12:29:12 -0400
committerJiri Kosina <jkosina@suse.cz>2013-07-25 06:34:15 -0400
commitc9f3f2d8b3247b7e16b3cd66698e690ab4697301 (patch)
tree99249f76975e1371f915c4c04eeca4c97674d86b /Documentation/i2c/upgrading-clients
parent30abda170be7cbd9bce9a7026ce83ce1f74c0e7a (diff)
doc: Fix typo in doucmentations
Correct typo (double words) in documentations. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/i2c/upgrading-clients')
-rw-r--r--Documentation/i2c/upgrading-clients4
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
197Update the detach method, by changing the name to _remove and 197Update the detach method, by changing the name to _remove and
198to delete the i2c_detach_client call. It is possible that you 198to delete the i2c_detach_client call. It is possible that you
199can also remove the ret variable as it is not not needed for 199can also remove the ret variable as it is not needed for any
200any of the core functions. 200of 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)