Driver core: Add accessor for device platform data
For consistency with driver data provide a dev_get_platdata() accessor for reading the platform data from a device. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录