commit | c3ea297260b77a99a2383c1029a381d125f788fe | [log] [tgz] |
---|---|---|
author | Jon Hunter <jonathanh@nvidia.com> | Thu Feb 11 18:03:25 2016 +0000 |
committer | Thierry Reding <treding@nvidia.com> | Tue Apr 05 15:22:50 2016 +0200 |
tree | 1ba83e7adc05685999649a2c886e787d88151b53 | |
parent | 0a243bd438ce3d44e03140adf58df4df11dce978 [diff] |
soc/tegra: pmc: Remove additional check for a valid partition The function tegra_powergate_is_powered() verifies that the partition being queried is valid and so there is no need to check this before calling tegra_powergate_is_powered() in powergate_show(). So remove this extra check. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com>