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

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -

how to add preprocess loader in webpack 2 -