diff options
author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-08-31 16:49:56 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-09-08 14:20:57 +0200 |
commit | decd50c19f2ccce3cbe34f6f59d04b252119329d (patch) | |
tree | 9dce4fc5c7fe7e6c82ca8dfe7d093dbae096649f /rust/helpers/build_bug.c | |
parent | 050e711a48f18a6ce661ecf1b736dc07534f384a (diff) |
pinctrl: armada-37xx: Use int type to store negative error codes
In armada_37xx_gpio_direction_output(), the 'ret' variable might store
the negative error codes returned by regmap_update_bits(), and in
armada_37xx_edge_both_irq_swap_pol(), the 'ret' variable directly
stores -1, so the type of the 'ret' variable needs to be changed to
int in both cases.
No effect on runtime.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions