LWN.net Logo

The platform device API

The platform device API

Posted Jun 23, 2011 7:26 UTC (Thu) by Lumag (subscriber, #22579)
Parent article: The platform device API

Just a small addition: for lots of use cases it's better not to register static instance of platform device, but rather allocate it dynamically, via platform_device_register_{simple,data,resndata}() functions or via platform_device_alloc()/platform_device_add().


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds