diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-12-02 15:08:38 -0700 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-03 11:19:08 +0000 |
commit | c0eb27cf84ffd79347907f07ae33061ba0034c41 (patch) | |
tree | e16f7811f2978b732ddbc0c7d983881c36a6ac0d /sound/soc/codecs/wm8900.c | |
parent | 672b0c6a37d3bf951a449cff9f6c98b7dfc47a16 (diff) |
ASoC: WM8903: Create default platform data structure
When no platform data is supplied, point pdata at a default platform
structure. This enables two future changes:
a) Defines the default platform data values in a single place.
b) There is always a valid pdata pointer, so some conditional code can
be simplified by a later patch.
Based on work by John Bonesio, but significantly reworked since then.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8900.c')
0 files changed, 0 insertions, 0 deletions