Skip to content

Commit 18b849f

Browse files
andy-shevmiquelraynal
authored andcommitted
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
1 parent 5c68005 commit 18b849f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/net/ieee802154/ca8210.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,6 @@ static int ca8210_interrupt_init(struct spi_device *spi)
28552855
);
28562856
if (ret) {
28572857
dev_crit(&spi->dev, "request_irq %d failed\n", pdata->irq_id);
2858-
gpiod_unexport(gpio_to_desc(pdata->gpio_irq));
28592858
gpio_free(pdata->gpio_irq);
28602859
}
28612860

0 commit comments

Comments
 (0)