diff options
| author | Axel Lin <[email protected]> | 2011-08-18 15:31:04 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2011-08-19 01:25:56 +0900 |
| commit | e3d73c1bbf08b9abd3f56293796ba7b5c15008f5 (patch) | |
| tree | a4deee1d09b71e6373e9a15d89fff5055a11ecad /include/linux/timerqueue.h | |
| parent | 3f612933021ca6cc0edc2722f5a829d3c5b0a6b5 (diff) | |
ASoC: sta32x: Move resource allocation and release to the corresponding callback functions
This patch includes below small fixes:
1. Move sta32x_set_bias_level() from sta32x_i2c_remove() to sta32x_remove().
2. Remove a redundant regulator_bulk_free() call in sta32x_i2c_remove(),
as we will call regulator_bulk_free() in sta32x_remove().
3. Remove unneeded snd_soc_codec_set_drvdata(codec, NULL) in sta32x_i2c_remove.
The i2c core will set the clientdata to NULL.
Signed-off-by: Axel Lin <[email protected]>
Johannes Stezenbach <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions