18 Nov
2013
18 Nov
'13
1:41 p.m.
On Mon, Nov 18, 2013 at 11:36:18AM +0000, Mark Rutland wrote:
What I meant was that I am surprised there isn't a helper doing all of:
- of_parse_phandle
- snd_soc_of_get_dai_name
- snd_soc_of_parse_daifmt
It looks like a common pattern that could be factored out.
This is the factoring out of the common pattern, other drivers will only need the compatible string to work out the format.