summaryrefslogtreecommitdiff
path: root/samples/seccomp
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2014-10-28 22:36:02 +0200
committerGrant Likely <grant.likely@linaro.org>2014-11-25 15:35:16 +0000
commita430a3455f2c48995e06b359a82a1109a419e9ef (patch)
treed35963abe215351d959090c8c8ef98b113a754c4 /samples/seccomp
parent177d271cf3171bb6826ee5189f67dc1f7d34f1da (diff)
i2c/of: Factor out Devicetree registration code
Dynamically inserting i2c client device nodes requires the use of a single device registration method. Factor out the loop body of of_i2c_register_devices() so that it can be called for individual device_nodes instead of for all the children of a node. Note: The diff of this commit looks far more complicated than it actually is due the indentation being changed for a large block of code. When viewed using the diff -w flag to ignore whitespace changes it can be seen that the change is actually quite simple. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> [grant.likely: Made new function static and removed changes to header] Signed-off-by: Grant Likely <grant.likely@linaro.org> Reviewed-by: Wolfram Sang <wsa@the-dreams.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: linux-i2c@vger.kernel.org
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions