projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d762f43
)
i2c/writing-clients: Fix foo_driver.id_table
author
Vikram Narayanan
<vikram186@gmail.com>
Tue, 24 May 2011 18:58:48 +0000
(20:58 +0200)
committer
Jean Delvare
<khali@endymion.delvare>
Tue, 24 May 2011 18:58:48 +0000
(20:58 +0200)
The i2c_device_id structure variable's name is not used in the
i2c_driver structure.
Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/writing-clients
patch
|
blob
|
history
diff --git
a/Documentation/i2c/writing-clients
b/Documentation/i2c/writing-clients
index 5ebf5af1d71606ae3d6d31557f97ce7f3077add7..5aa53374ea2a84d264f7875d69d39fd1b0526916 100644
(file)
--- a/
Documentation/i2c/writing-clients
+++ b/
Documentation/i2c/writing-clients
@@
-38,7
+38,7
@@
static struct i2c_driver foo_driver = {
.name = "foo",
},
- .id_table = foo_id
s
,
+ .id_table = foo_id
table
,
.probe = foo_probe,
.remove = foo_remove,
/* if device autodetection is needed: */