Introduce init() and exit() for platform_device
cover Introduce init() and exit() for platform_device
For changes and documentation about this fix please see:
[RFC PATCH 1/3] platform_device: add init() exit() callbacks
Other patches demonstrate how drivers can benefit from this change.
I have two questions:
1. Is init()/exit() OK? Or should I call it activate()/deactivate()? Other suggestions?
2. Now exit() returns nothing. Maybe it is better if it returned int? How to handle such exit failure?