You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
+2
-2
@@ -328,8 +328,8 @@ struct pnp_protocol {
|
||||
char *name;
|
||||
|
||||
/* resource control functions */
|
||||
int (*get) (struct pnp_dev *dev, struct pnp_resource_table *res);
|
||||
int (*set) (struct pnp_dev *dev, struct pnp_resource_table *res);
|
||||
int (*get) (struct pnp_dev *dev);
|
||||
int (*set) (struct pnp_dev *dev);
|
||||
int (*disable) (struct pnp_dev *dev);
|
||||
|
||||
/* protocol specific suspend/resume */
|
||||
|
||||
Reference in New Issue
Block a user