Skip to content
Commit b6bf291f authored by Wim Van Sebroeck's avatar Wim Van Sebroeck
Browse files

[WATCHDOG] move platform probe and remove function to devinit and devexit



A pointer to probe and remove functions is passed to the core via
platform_driver_register and so the function must not disappear when the
.init sections are discarded.  Otherwise (if also having HOTPLUG=y)
unbinding and binding a device to the driver via sysfs will result in an
oops as does a device being registered late.

Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent a77dba7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment