ASoC: wsa881x-analog: fix overwrite of client->dev->driver_data
In probe, client->dev->driver_data is set with client and
again set with pdata. In remove function, we get client instead of
wsa data.
set dev->driver_data with client and dev->platform_data with pdata.
In remove, get wsa pdata from dev platform_data.
Change-Id: I78c69a0b82e53418e3199c5f06ac42839c793e9c
Signed-off-by:
Lingutla Chandrasekhar <clingutla@codeaurora.org>
Loading
Please register or sign in to comment