1 Oct
2013
1 Oct
'13
2:41 a.m.
Hi,
On Wed, Sep 25, 2013 at 6:21 AM, Philipp Zabel p.zabel@pengutronix.de wrote:
Changes since v1:
- Rebased onto asoc/for-next, adding back imx_sgtl5000_remove.
[...]
+static int imx_sgtl5000_remove(struct platform_device *pdev) +{
struct imx_sgtl5000_data *data = platform_get_drvdata(pdev);
clk_put(data->codec_clk);
return 0;
+}
This function is never referenced nor called from anywhere, so if you want to add it back you've better add a reference to it as well. :)
For now it results in:
sound/soc/fsl/imx-sgtl5000.c:185:12: warning: 'imx_sgtl5000_remove' defined but not used [-Wunused-function]
-Olof