mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
gpio: pca953x: variable 'id' was used twice
sparse rightfully said: drivers/gpio/gpio-pca953x.c:771:45: warning: symbol 'id' shadows an earlier one drivers/gpio/gpio-pca953x.c:742:36: originally declared here So, name them explicitly 'i2c_id' and 'acpi_id' to avoid any confusion. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
31158763ef
commit
6212e1d6ed
1 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue