diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:34:05 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:21 -0400 |
commit | 59284cb4099411bc6f4915a5a4cb76414440c447 (patch) | |
tree | 2965bbad48655a6c1e0bf2ef5d51994ab28d627d /include/linux/pnp.h | |
parent | c1caf06ccfd3a4efd4b489f89bcdabd2362f31d0 (diff) |
PNP: remove pnp_resource_table from internal get/set interfaces
When we call protocol->get() and protocol->set() methods, we currently
supply pointers to both the pnp_dev and the pnp_resource_table even
though the pnp_resource_table should always be the one associated with
the pnp_dev.
This removes the pnp_resource_table arguments to make it clear that
these methods only operate on the specified pnp_dev.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r-- | include/linux/pnp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index a4c2bf361596..8d7c9bc2fdbb 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -328,8 +328,8 @@ struct pnp_protocol { | |||
328 | char *name; | 328 | char *name; |
329 | 329 | ||
330 | /* resource control functions */ | 330 | /* resource control functions */ |
331 | int (*get) (struct pnp_dev *dev, struct pnp_resource_table *res); | 331 | int (*get) (struct pnp_dev *dev); |
332 | int (*set) (struct pnp_dev *dev, struct pnp_resource_table *res); | 332 | int (*set) (struct pnp_dev *dev); |
333 | int (*disable) (struct pnp_dev *dev); | 333 | int (*disable) (struct pnp_dev *dev); |
334 | 334 | ||
335 | /* protocol specific suspend/resume */ | 335 | /* protocol specific suspend/resume */ |