summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorChris Brand <chris.brand@linaro.org>2014-07-03 14:01:29 -0700
committerMike Turquette <mturquette@linaro.org>2014-07-29 17:13:48 -0700
commitabeab450bfe823079c8a3abf5123f41a0da62392 (patch)
tree2fb18391c00a408ba059781b5ab3c1e537640536 /include/dt-bindings
parentd14c17b235abb7c76150db2efe673fd9d4561fb1 (diff)
downloadop-kernel-dev-abeab450bfe823079c8a3abf5123f41a0da62392.zip
op-kernel-dev-abeab450bfe823079c8a3abf5123f41a0da62392.tar.gz
clk: Propagate any error return from debug_init()
If the .debug_init op is provided, it will be called by clk_debug_create_one(). If debug_init() returns an error code, clk_debug_create_one() will return -ENOMEM, regardless of the value returned from debug_init(). Tweak the code to return the actual value returned by debug_init() instead. Signed-off-by: Chris Brand <chris.brand@linaro.org> Reviewed-by: Matt Porter <mporter@linaro.org> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud