mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
ASoC: tegra-alt: Fix sparse warning
This change fixes warnings highlighted for unused variables and labels Bug 200088648 Change-Id: I0db87d6b4f7ca9c6714610d15dfd93ef96a7a30a Signed-off-by: Asha T <atalambedu@nvidia.com> Reviewed-on: http://git-master/r/827396 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
This commit is contained in:
@@ -850,7 +850,6 @@ static int tegra186_arad_platform_probe(struct platform_device *pdev)
|
|||||||
err_suspend:
|
err_suspend:
|
||||||
if (!pm_runtime_status_suspended(&pdev->dev))
|
if (!pm_runtime_status_suspended(&pdev->dev))
|
||||||
tegra186_arad_runtime_suspend(&pdev->dev);
|
tegra186_arad_runtime_suspend(&pdev->dev);
|
||||||
err_pm_disable:
|
|
||||||
pm_runtime_disable(&pdev->dev);
|
pm_runtime_disable(&pdev->dev);
|
||||||
err:
|
err:
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
@@ -977,7 +977,6 @@ static int tegra186_asrc_platform_probe(struct platform_device *pdev)
|
|||||||
err_suspend:
|
err_suspend:
|
||||||
if (!pm_runtime_status_suspended(&pdev->dev))
|
if (!pm_runtime_status_suspended(&pdev->dev))
|
||||||
tegra186_asrc_runtime_suspend(&pdev->dev);
|
tegra186_asrc_runtime_suspend(&pdev->dev);
|
||||||
err_pm_disable:
|
|
||||||
pm_runtime_disable(&pdev->dev);
|
pm_runtime_disable(&pdev->dev);
|
||||||
err:
|
err:
|
||||||
return ret;
|
return ret;
|
||||||
@@ -985,9 +984,6 @@ err:
|
|||||||
|
|
||||||
static int tegra186_asrc_platform_remove(struct platform_device *pdev)
|
static int tegra186_asrc_platform_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct tegra186_asrc *asrc =
|
|
||||||
dev_get_drvdata(&pdev->dev);
|
|
||||||
|
|
||||||
snd_soc_unregister_codec(&pdev->dev);
|
snd_soc_unregister_codec(&pdev->dev);
|
||||||
|
|
||||||
pm_runtime_disable(&pdev->dev);
|
pm_runtime_disable(&pdev->dev);
|
||||||
|
|||||||
Reference in New Issue
Block a user