summaryrefslogtreecommitdiff
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-12 16:12:43 +0800
committerLinus Walleij <linus.walleij@linaro.org>2025-08-19 12:14:15 +0200
commitfaba66cfcef6374020d2ac7bed091b2793eefeec (patch)
treea59c791775dcc342a052f6114a84d093914c0dcb /rust/helpers/cpu.c
parent4b4dbf0f261811cf05ec91aa5de5cc652b6f5a1e (diff)
pinctrl: bcm: use PTR_ERR_OR_ZERO() to simplify code
Use the standard error pointer macro to shorten the code and simplify. Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com> Link: https://lore.kernel.org/20250812081243.22659-1-zhao.xichao@vivo.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions