ASoC: tegra-alt: remove extra check for pinctrl

is_pinctrl variable check is redundant check which can be removed
from the dmic and dspk drivers.

Bug 200500656

Change-Id: I3dee030a198a3f398550de9c88a9f3b4f5d0f6fb
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2084602
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mohan Kumar
2019-03-29 11:05:51 +05:30
committed by Sameer Pujar
parent 834b540cf9
commit 28684681fa
5 changed files with 47 additions and 73 deletions

View File

@@ -1,7 +1,7 @@
/*
* tegra186_dspk_alt.h - Definitions for Tegra186 DSPK driver
*
* Copyright (c) 2015-2018 NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2015-2019 NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -182,7 +182,6 @@ struct tegra186_dspk {
struct clk *clk_pll_a_out0;
struct regmap *regmap;
const struct tegra186_dspk_soc_data *soc_data;
int is_pinctrl;
struct pinctrl *pinctrl;
struct pinctrl_state *pin_active_state;
struct pinctrl_state *pin_idle_state;