diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-05-28 16:09:38 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-06-06 20:47:48 +0200 |
commit | 18b849f12dcc34ec4cb9c8fadeb503b069499ba4 (patch) | |
tree | 7e36f8551d4ba63df853c8f2f38d8c0cb7ca7063 /drivers/net/ieee802154 | |
parent | Merge tag 'v6.4-rc4' into wpan-next/staging (diff) | |
download | linux-18b849f12dcc34ec4cb9c8fadeb503b069499ba4.tar.xz linux-18b849f12dcc34ec4cb9c8fadeb503b069499ba4.zip |
ieee802154: ca8210: Remove stray gpiod_unexport() call
There is no gpiod_export() and gpiod_unexport() looks pretty much stray.
The gpiod_export() and gpiod_unexport() shouldn't be used in the code,
GPIO sysfs is deprecated. That said, simply drop the stray call.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-wpan/20230528140938.34034-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/ca8210.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c index a2d242034220..f9b10e84de06 100644 --- a/drivers/net/ieee802154/ca8210.c +++ b/drivers/net/ieee802154/ca8210.c @@ -2855,7 +2855,6 @@ static int ca8210_interrupt_init(struct spi_device *spi) ); if (ret) { dev_crit(&spi->dev, "request_irq %d failed\n", pdata->irq_id); - gpiod_unexport(gpio_to_desc(pdata->gpio_irq)); gpio_free(pdata->gpio_irq); } |