gpio: pca953x: variable 'id' was used twice
authorWolfram Sang <wsa@the-dreams.de>
Sat, 24 Sep 2016 09:06:29 +0000 (11:06 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 24 Sep 2016 09:06:29 +0000 (11:06 +0200)
commit6212e1d6ed4018ae3d3e6079ea0c45df346c97a6
tree09f01bd3d799196f3a398e6552bccc0f92fa4def
parent31158763ef2dba9393ddd205248b9c95d2b5b87c
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>
drivers/gpio/gpio-pca953x.c