Unregisrtering a platform driver from another platform driver.

Andy Ng andreas2025 at gmail.com
Wed Jan 21 02:27:35 PST 2015


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.

Any advice will be very much appreciated.

Best regards
A



More information about the linux-arm-kernel mailing list