summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-08-27 00:20:42 +0300
committerStephen Boyd <sboyd@kernel.org>2019-09-05 21:51:31 +0300
commit226fd70209451428c563977f5ce022a41d077110 (patch)
tree68f7733b1d36a99452588d8af3174af617a6d564 /tools/perf/scripts/python/export-to-postgresql.py
parentef13e55c27e128b6d84aa939dcc565b1d2ee7724 (diff)
downloadlinux-226fd70209451428c563977f5ce022a41d077110.tar.xz
clk: Document of_parse_clkspec() some more
The return value of of_parse_clkspec() is peculiar. If the function is called with a NULL argument for 'name' it will return -ENOENT, but if it's called with a non-NULL argument for 'name' it will return -EINVAL. This peculiarity is documented by commit 5c56dfe63b6e ("clk: Add comment about __of_clk_get_by_name() error values"). Let's further document this function so that it's clear what the return value is and how to use the arguments to parse clk specifiers. Cc: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lkml.kernel.org/r/20190826212042.48642-1-sboyd@kernel.org Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions