mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
software node: remove separate handling of references
Now that all users of references have moved to reference properties, we can remove separate handling of references. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
53c24c2932
commit
e933bedd45
2 changed files with 17 additions and 43 deletions
|
@ -416,30 +416,16 @@ int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
|
|||
/* -------------------------------------------------------------------------- */
|
||||
/* Software fwnode support - when HW description is incomplete or missing */
|
||||
|
||||
/**
|
||||
* struct software_node_reference - Named software node reference property
|
||||
* @name: Name of the property
|
||||
* @nrefs: Number of elements in @refs array
|
||||
* @refs: Array of references with optional arguments
|
||||
*/
|
||||
struct software_node_reference {
|
||||
const char *name;
|
||||
unsigned int nrefs;
|
||||
const struct software_node_ref_args *refs;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct software_node - Software node description
|
||||
* @name: Name of the software node
|
||||
* @parent: Parent of the software node
|
||||
* @properties: Array of device properties
|
||||
* @references: Array of software node reference properties
|
||||
*/
|
||||
struct software_node {
|
||||
const char *name;
|
||||
const struct software_node *parent;
|
||||
const struct property_entry *properties;
|
||||
const struct software_node_reference *references;
|
||||
};
|
||||
|
||||
bool is_software_node(const struct fwnode_handle *fwnode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue