diff options
| author | Li Zetao <[email protected]> | 2023-08-17 01:49:00 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2023-08-17 07:24:54 +0000 |
| commit | e98153a8c60a91b54fe9193bb9d51080f948e7c1 (patch) | |
| tree | f78e1affebc209515d2f9fc2e042f0c60c32e0b6 /tools/perf/scripts/python/libxed.py | |
| parent | thermal/drivers/generic-adc: Removed unneeded call to platform_set_drvdata() (diff) | |
| download | kernel-e98153a8c60a91b54fe9193bb9d51080f948e7c1.tar.gz kernel-e98153a8c60a91b54fe9193bb9d51080f948e7c1.zip | |
thermal/drivers/ti-soc-thermal: Use helper function IS_ERR_OR_NULL()
Use IS_ERR_OR_NULL() to detect an error pointer or a null pointer
open-coding to simplify the code.
Signed-off-by: Li Zetao <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
