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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

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