5 Jun
2013
5 Jun
'13
12:25 p.m.
On Wed, Jun 05, 2013 at 08:12:55PM +0800, Nicolin Chen wrote:
struct wm8962_priv {
- struct wm8962_pdata *pdata;
More idiomatic style for this is to just embed a copy of the platform data struct in the private data then copy any driver model platform data on top of it. This simplifies usage as now the driver can assume that there is platform data available at all times.