diff options
| author | 2022-08-30 15:58:30 -0700 | |
|---|---|---|
| committer | 2022-09-01 10:15:34 +0800 | |
| commit | dc22a33e35859835b09cff11f445928af0197808 (patch) | |
| tree | 705a9e6c2a6ef9271a87cc0be6d30e66b6a453f2 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | platform/chrome: cros_typec_switch: Remove impossible condition (diff) | |
| download | linux-dev-dc22a33e35859835b09cff11f445928af0197808.tar.xz linux-dev-dc22a33e35859835b09cff11f445928af0197808.zip | |
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 <pmalani@chromium.org>
Cc: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220830225831.2362403-4-swboyd@chromium.org
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
