Skip to contentSkip to conversation

Introduce init() and exit() for platform_device

RFC PATCH In review Paulius Zaleckas 1 participant 1 message Feb 24, 2009

lore
Share & tools
lore
#0 lore raw

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?