config: factor out duplicated stream open code

Change-Id: Idb72e2f38d886b7bfaf4362c5872a09ef33168cf
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
1 file changed