aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAdrien Grassein <[email protected]>2021-01-14 18:47:14 +0100
committerMark Brown <[email protected]>2021-01-15 14:16:15 +0000
commit475a5d85ff62f7ca73f51f23977e7e3ec8c9f906 (patch)
tree678452b31da47e204974d71a466ce3655a89adab /tools/perf/util/scripting-engines/trace-event-python.c
parent35a93349932e0e04c284f8a4954f3d1236c97d85 (diff)
regulator: pf8x00: fix nxp,phase-shift
Fix the ternary condition which is a bad coding style in the kernel I also remove the defering configuration of the nxp,phase-shift. The configuration is now done at parsing time. It save some memory and it's better for comprehension. I also use the OTP default configuration when the parameter is wrong or not specified. I think that it's better to use the default configuration from the chip than an arbitrary value. Signed-off-by: Adrien Grassein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions