mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-24 02:38:17 +00:00
The np variable is used globally for stm32_pctl_probe() and in one of
its code branches. cppcheck is not happy with that:
pinctrl-stm32.c:1530:23: warning: Local variable 'np' shadows outer variable [shadowVariable]
Instead of simply renaming one of the variables convert some code to
use a device pointer directly.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-stm32.c | ||
| pinctrl-stm32.h | ||
| pinctrl-stm32f429.c | ||
| pinctrl-stm32f469.c | ||
| pinctrl-stm32f746.c | ||
| pinctrl-stm32f769.c | ||
| pinctrl-stm32h743.c | ||
| pinctrl-stm32mp135.c | ||
| pinctrl-stm32mp157.c | ||