aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-09-25 23:34:41 +0100
committerAlexandre Belloni <[email protected]>2021-10-01 23:31:29 +0200
commit7caadcfa8a7c6f8e754d982b99d959a222e7f863 (patch)
tree67e8322dd036d3a5c53ecd221bfac83e20cad9e7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentf3606687b447c41d28a011c98373b62b1cd52345 (diff)
rtc: m41t80: return NULL rather than a plain 0 integer
Function m41t80_sqw_register_clk returns a pointer to struct clk, so returning a plain 0 integer isn't good practice. Fix this by returning a NULL instead. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions