Misleading in paragraph 'hotplug events'. The code seems to be right, but the accompanying text suddenly speaks about class_device instead of struct device (a class_device doesn't have a member named bus).
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds