From: Stephen Warren Date: Fri, 2 Dec 2011 22:08:38 +0000 (-0700) Subject: ASoC: WM8903: Create default platform data structure X-Git-Tag: v3.3-rc1~14^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0eb27cf84ffd79347907f07ae33061ba0034c41;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed