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 -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -