diff options
author | Stephen Boyd <[email protected]> | 2022-08-30 15:58:30 -0700 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2022-09-01 10:15:34 +0800 |
commit | dc22a33e35859835b09cff11f445928af0197808 (patch) | |
tree | 705a9e6c2a6ef9271a87cc0be6d30e66b6a453f2 /scripts/generate_rust_analyzer.py | |
parent | bbb5fb85cf48757a18870aaeedf6936d5c1f1ead (diff) |
platform/chrome: cros_typec_switch: Use PTR_ERR_OR_ZERO() to simplify
Use the standard error pointer macro to shorten the code and simplify.
Cc: Prashant Malani <[email protected]>
Cc: Tzung-Bi Shih <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Acked-by: Prashant Malani <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions