aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVincent Mailhol <[email protected]>2021-06-29 00:54:16 +0900
committerMarc Kleine-Budde <[email protected]>2021-07-25 11:36:28 +0200
commit45cb13963df304fde13262654939dfb18788f95e (patch)
treea287f443392bbe0354a7a9bbb24ef88555b5ac72 /tools/perf/scripts/python
parent58fb92a517b58ff61237653a5c05c3f3d8dfe392 (diff)
can: etas_es58x: use error pointer during device probing
Make es58x_init_es58x_dev return a pointer to the allocated structure instead of returning an integer. Errors are handled through the helper function ERR_PTR and IS_ERR. This slightly simplifies the code. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vincent Mailhol <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions