diff options
author | Pantelis Antoniou <[email protected]> | 2014-10-29 10:40:37 +0200 |
---|---|---|
committer | Grant Likely <[email protected]> | 2014-11-25 15:35:43 +0000 |
commit | aff5e3f89a0b07e7edf9243f913378cc27e4110d (patch) | |
tree | 1d3cc8af2aa2ac1046909e341468464426fcf2e1 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | ea7513bbc04170f1cbf42953187a4d8b731c71c4 (diff) |
spi/of: Create new device registration method and accessors
Dynamically inserting spi device nodes requires the use of a single
device registration method. Refactor the existing
of_register_spi_devices() to split out the core functionality for a
single device into a separate function; of_register_spi_device(). This
function will be used by the OF_DYNAMIC overlay code to make live
modifications to the tree.
Methods to lookup a device/master using a device node are added
as well, of_find_spi_master_by_node() & of_find_spi_device_by_node().
Signed-off-by: Pantelis Antoniou <[email protected]>
[grant.likely] Split patch into two pieces for clarity
Signed-off-by: Grant Likely <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions