gpio-exar/8250-exar: Do not even instantiate a GPIO device for Commtech cards
Commtech adapters need the MPIOs for internal purposes, and the gpio-exar driver already refused to pick them up. But there is actually no point in even creating the underlying platform device. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -124,9 +124,6 @@ static int gpio_exar_probe(struct platform_device *pdev)
|
||||
void __iomem *p;
|
||||
int index, ret;
|
||||
|
||||
if (pcidev->vendor != PCI_VENDOR_ID_EXAR)
|
||||
return -ENODEV;
|
||||
|
||||
/*
|
||||
* Map the pci device to get the register addresses.
|
||||
* We will need to read and write those registers to control
|
||||
|
Reference in New Issue
Block a user