+12
−11
Loading
stable inclusion from stable-v6.6.66 commit 9cc1a6ce157d028023f172aa9608e045fef1b96b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBLUBO Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9cc1a6ce157d028023f172aa9608e045fef1b96b -------------------------------- [ Upstream commit d036ae41cebdfae92666024163c109b8fef516fa ] Instead of dereferencing the platform device pointer repeatedly, just store its address in a helper variable. Link: https://lore.kernel.org/r/20241015131832.44678-3-brgl@bgdev.pl Signed-off-by:Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Stable-dep-of: 050b23d081da ("gpio: grgpio: Add NULL check in grgpio_probe") Signed-off-by:
Sasha Levin <sashal@kernel.org> Conflicts: drivers/gpio/gpio-grgpio.c Signed-off-by:
cuiyudong <cuiyudong@kylinos.cn>