kernel module - Linux Platform device "remove" method -
question on standard practice when rmmod'ing module platform device. when remove platform device not seem call .remove method defined in struct platform_driver. in __exit function, i'm calling platform_device_unregister , platform_driver_unregister, looking @ source, neither of them seem call remove function. current implementation calls remove method manually in __exit function, standard procedure platform devices?
Comments
Post a Comment