]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit3127a6b2a2342ecd7d7579ccbf39b50908b9df02
treea22cadbf430f921da6ead11793245687dd62c858
parent6d5b988e7dc56bb97c39bdcbc006fadcd6ca371b
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