diff options
author | 2013-03-18 15:33:39 +0800 | |
---|---|---|
committer | 2013-04-04 21:22:39 +0800 | |
commit | c29dc2d771411850777eb027756b12106b5f6cd5 (patch) | |
tree | b81711c934f84e4066e1a9dcd3eebd56e6b847ee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clocksource: mxs_timer: Add semicolon at end of line (diff) | |
download | linux-dev-c29dc2d771411850777eb027756b12106b5f6cd5.tar.xz linux-dev-c29dc2d771411850777eb027756b12106b5f6cd5.zip |
net: fec: handle optional clk_ptp more gracefully
When the optional clk_ptp is absent, we can just set it to NULL, and
clk API will just handle it gracefully. It saves us from checking
clk_ptp whenever calling into clk API.
Also since clk_ptp is optional, the "ret" variable shouldn't be set
in case that the clock is absent.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions