summaryrefslogtreecommitdiff
path: root/fs/udf
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2014-10-29 11:40:37 +0300
committerGrant Likely <grant.likely@linaro.org>2014-11-25 18:35:43 +0300
commitaff5e3f89a0b07e7edf9243f913378cc27e4110d (patch)
tree1d3cc8af2aa2ac1046909e341468464426fcf2e1 /fs/udf
parentea7513bbc04170f1cbf42953187a4d8b731c71c4 (diff)
downloadlinux-aff5e3f89a0b07e7edf9243f913378cc27e4110d.tar.xz
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 <pantelis.antoniou@konsulko.com> [grant.likely] Split patch into two pieces for clarity Signed-off-by: Grant Likely <grant.likely@linaro.org> Reviewed-by: Mark Brown <broonie@kernel.org> Cc: <linux-spi@vger.kernel.org>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions