mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 02:24:14 +08:00
8b3dd882bf
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 |