Re: [U-Boot] [PATCH 10/30] dm: sound: wm8994: Create a new common init function

2018-12-09 Thread sjg
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: Simon Glass --- drivers/sound/wm8994.c | 56 +- 1 file changed, 33

[U-Boot] [PATCH 10/30] dm: sound: wm8994: Create a new common init function

2018-12-03 Thread Simon Glass
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: Simon Glass --- drivers/sound/wm8994.c | 56 +- 1 file changed, 33