linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 3/6] pci:host: Add Altera PCIe host controller driver
Date: Wed, 14 Oct 2015 10:20 +0200	[thread overview]
Message-ID: <6044983.WR9BTgsOaA@wuerfel> (raw)
In-Reply-To: <1444790492-4051-4-git-send-email-lftan@altera.com>

On Wednesday 14 October 2015 10:41:29 Ley Foon Tan wrote:
> +static int altera_pcie_remove(struct platform_device *pdev)
> +{
> +	struct altera_pcie *pcie = platform_get_drvdata(pdev);
> +
> +	altera_pcie_free_irq_domain(pcie);
> +	platform_set_drvdata(pdev, NULL);
> +	return 0;
> +}

I just noticed this. Does it actually work to unload the module
and tear down all the pci_dev structures in a safe way?

	Arnd

  reply	other threads:[~2015-10-14  8:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14  2:41 [PATCH v9 0/6] Altera PCIe host controller driver with MSI support Ley Foon Tan
2015-10-14  2:41 ` [PATCH v9 1/6] arm: add msi.h to Kbuild Ley Foon Tan
2015-10-14  2:41 ` [PATCH v9 2/6] pci: add Altera PCI vendor ID Ley Foon Tan
2015-10-14  2:41 ` [PATCH v9 3/6] pci:host: Add Altera PCIe host controller driver Ley Foon Tan
2015-10-14  8:20   ` Arnd Bergmann [this message]
2015-10-14  8:32     ` Ley Foon Tan
2015-10-14  9:09       ` Arnd Bergmann
2015-10-14  9:28         ` Ley Foon Tan
2015-10-14  9:36           ` Arnd Bergmann
2015-10-14 10:01             ` Ley Foon Tan
2015-10-14 13:32               ` Arnd Bergmann
2015-10-16  8:48                 ` Ley Foon Tan
2015-10-14  2:41 ` [PATCH v9 4/6] pci: altera: Add Altera PCIe MSI driver Ley Foon Tan
2015-10-14  2:41 ` [PATCH v9 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding Ley Foon Tan
2015-10-14  2:41 ` [PATCH v9 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer Ley Foon Tan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6044983.WR9BTgsOaA@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).