gpiolib: Do not unexport GPIO on freeing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 5 Jun 2023 12:58:10 +0000 (15:58 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 9 Jun 2023 09:38:36 +0000 (11:38 +0200)
commitb0ce9ce408b6cfbce6c720c7eb084e6d81a04434
tree7860de53f60236ceb92e3d2e519f6f6f852cc6fc
parentbe6736cc5423e9c153f38ca49ed9ba05a02a58f9
gpiolib: Do not unexport GPIO on freeing

Since the legacy exporting is gone with 2f804aca4832 ("gpiolib:
Kill unused GPIOF_EXPORT and Co") there is no need to unexport
GPIO on freeing. Remove that call.

Note, the other users of this functionality do that explicitly,
except one SH and one OMAP boardfile which don't free GPIO anyways,
so it is safe to drop the call.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c