]> git.baikalelectronics.ru Git - kernel.git/commit
pci: tegra: use reset framework
authorStephen Warren <swarren@nvidia.com>
Wed, 6 Nov 2013 22:56:58 +0000 (15:56 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 11 Dec 2013 23:42:56 +0000 (16:42 -0700)
commit93ebccc1593afb669bae94ca8c7840faa4419ec2
treea22cadbf430f921da6ead11793245687dd62c858
parent7bdb7f4e0cd6d39ac10a3fb55c3843093a94cad0
pci: tegra: use reset framework

Tegra's clock driver now provides an implementation of the common
reset API (include/linux/reset.h). Use this instead of the old Tegra-
specific API; that will soon be removed.

The old Tegra-specific API used a struct clock to represent the module
to reset. Some of the clocks retrieved during probe() were only used for
reset purposes, and indeed aren't even true clocks. So, there's no need
to get() them any more.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
drivers/pci/host/pci-tegra.c