From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: Unregisrtering a platform driver from another platform driver.
Date: Wed, 21 Jan 2015 13:49:17 +0000 [thread overview]
Message-ID: <20150121134917.GR26493@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAAVaN8xnO5mE1uwW=SPENwOugLv3n+JeNCE9ZycEK2_9QmXSPw@mail.gmail.com>
On Wed, Jan 21, 2015 at 10:27:35AM +0000, Andy Ng wrote:
> Dear Colleagues,
>
> I would like to call "platform_driver_unregister" for a static module
> A from a static module B.
> The static module A register its name "physmap-flash".
>
> Is there any kernel API to search and find the "physmap-flash" device,
> and then call unregistered with "platform_driver_unregister" from
> module B.
Why do you want to do this? What is your motivation?
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
prev parent reply other threads:[~2015-01-21 13:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-21 10:27 Unregisrtering a platform driver from another platform driver Andy Ng
2015-01-21 11:15 ` Arnd Bergmann
2015-01-21 12:10 ` Andy Ng
2015-01-21 13:13 ` Arnd Bergmann
2015-01-21 13:49 ` Russell King - ARM Linux [this message]
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=20150121134917.GR26493@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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