diff options
| author | Sekhar Nori <nsekhar@ti.com> | 2020-07-28 01:16:02 +0530 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2020-08-23 19:39:58 +0530 |
| commit | b494bbb6c69fd8ad0f92356c94b904b48155d64f (patch) | |
| tree | 55a2f414d0c82a31372041e88b2744ca1017821d /tools/perf/scripts/python | |
| parent | phy: ti: am654: simplify regfield handling (diff) | |
| download | linux-b494bbb6c69fd8ad0f92356c94b904b48155d64f.tar.gz linux-b494bbb6c69fd8ad0f92356c94b904b48155d64f.zip | |
phy: ti: am654: simplify return handling
Checking return value after each regfield write becomes
hard to read quickly as number of writes increase.
Simplify by checking for error only once.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Link: https://lore.kernel.org/r/20200727194603.44636-3-nsekhar@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
