diff options
Diffstat (limited to 'Documentation/i2c/upgrading-clients')
-rw-r--r-- | Documentation/i2c/upgrading-clients | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/i2c/upgrading-clients b/Documentation/i2c/upgrading-clients index 8e5fbd88c7d1..ccba3ffd6e80 100644 --- a/Documentation/i2c/upgrading-clients +++ b/Documentation/i2c/upgrading-clients | |||
@@ -79,11 +79,10 @@ static struct i2c_driver example_driver = { | |||
79 | .driver = { | 79 | .driver = { |
80 | .owner = THIS_MODULE, | 80 | .owner = THIS_MODULE, |
81 | .name = "example", | 81 | .name = "example", |
82 | .pm = &example_pm_ops, | ||
82 | }, | 83 | }, |
83 | .attach_adapter = example_attach_adapter, | 84 | .attach_adapter = example_attach_adapter, |
84 | .detach_client = example_detach, | 85 | .detach_client = example_detach, |
85 | .suspend = example_suspend, | ||
86 | .resume = example_resume, | ||
87 | }; | 86 | }; |
88 | 87 | ||
89 | 88 | ||
@@ -272,10 +271,9 @@ static struct i2c_driver example_driver = { | |||
272 | .driver = { | 271 | .driver = { |
273 | .owner = THIS_MODULE, | 272 | .owner = THIS_MODULE, |
274 | .name = "example", | 273 | .name = "example", |
274 | .pm = &example_pm_ops, | ||
275 | }, | 275 | }, |
276 | .id_table = example_idtable, | 276 | .id_table = example_idtable, |
277 | .probe = example_probe, | 277 | .probe = example_probe, |
278 | .remove = example_remove, | 278 | .remove = example_remove, |
279 | .suspend = example_suspend, | ||
280 | .resume = example_resume, | ||
281 | }; | 279 | }; |