]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpio: devres: Use global array of gpio suffixes
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Jan 2017 17:00:20 +0000 (19:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Jan 2017 18:56:58 +0000 (19:56 +0100)
commit200d0177b4623cf218239ad7a21466459c174bff
tree3b7bb4a74bf3c313eb9a4bb9edce1bf7202fbd0d
parenta79fead50f06886311f37777d03b20b058749ce1
gpio: devres: Use global array of gpio suffixes

We have already a global array of possible GPIO suffixes. Use it here instead
of another copy of them.

Unfortunately this will not reduce the memory footprint, though allows to easy
maintain list in only one place.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/devres.c