dm: sound: wm8994: Create a new common init function
With driver model we cannot pass in the global struct, but instead want
to pass in the driver-private data. Split some of the code out of
wm8994_init() to handle this.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录