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

Popular posts from this blog

python - Best design pattern for collection of objects -

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -