diff options
| author | Shreeya Patel <[email protected]> | 2023-06-04 00:23:38 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-06-04 11:24:13 +0100 |
| commit | 5e63d7a260ea5536c22fda7b852f54eeee6d7c98 (patch) | |
| tree | c1f627edca363d859f88eb545e18b20c6dd0c01e /tools/perf/scripts/python | |
| parent | 10bec68f51ee1564fc2b6dcc25ccec22a01b22f9 (diff) | |
iio: adc: rockchip_saradc: Use dev_err_probe
Use dev_err_probe instead of dev_err in probe function,
which simplifies code a little bit and prints the error
code.
Signed-off-by: Shreeya Patel <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions