clk: tegra: export clock names for debugging
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 26 Jun 2014 15:36:13 +0000 (18:36 +0300)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Mon, 30 Jun 2014 13:51:45 +0000 (16:51 +0300)
commit9f0030c8ad0ce357e8fc8c71ec6b4958041afccf
treea693a3142b23da0221278acb16a751813bb3f402
parent0a7eec7f59b8cfccb381c0c43a6a441befe8058c
clk: tegra: export clock names for debugging

When writing a module for testing or debugging purposes, there is no way to
get hold of clk handles. This patch solves this by exposing all valid clocks
as clkdev's for the virtual device tegra-clk-debug.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
drivers/clk/tegra/clk.c