aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2024-10-18 16:32:23 +0100
committerHans Verkuil <[email protected]>2024-11-07 09:05:59 +0100
commit82e092fe36761bd3f9883a9411837eb764a6e866 (patch)
treebb7f5be05ddca32e29c17cff82c661f65eb3e03d /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3b3a7440607e7981dcdbbf6db88152fd1a5e1037 (diff)
media: i2c: ov5645: Replace dev_err with dev_err_probe in probe function
Refactor error handling in the ov5645_probe() function by replacing multiple dev_err() calls with dev_err_probe(). - Note that during this process, the error string "external clock frequency %u is not supported" was replaced with "unsupported xclk frequency %u" to ensure it wraps at 80 columns. - Additionally, the error string for control initialization failure was changed from "%s: control initialization error %d\n" to "failed to add controls\n" as there is no need to print the function name and error code in the string, since dev_err_probe() already provides this information. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions