dmaengine: tegra210-adma: Update driver to use of_pm_clk_add_clk
authorJon Hunter <jonathanh@nvidia.com>
Thu, 11 Aug 2016 10:42:20 +0000 (11:42 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Aug 2016 06:25:05 +0000 (11:55 +0530)
commit24fec75017ae2c9ecc5db71feb999f73d57ba04f
tree2e4492d132ccde18fb656d228377e97f429bbb96
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
dmaengine: tegra210-adma: Update driver to use of_pm_clk_add_clk

Commit 498b5fdd40dd ("PM / clk: Add support for adding a specific clock
from device-tree") add a new helper function for adding a clock from
device-tree to a device. Update the ADMA driver to use this new function
to simplify the driver.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra210-adma.c