clk: define and export clk_debugs_add_file
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 26 Jun 2014 15:00:53 +0000 (18:00 +0300)
committerMike Turquette <mturquette@linaro.org>
Wed, 2 Jul 2014 23:15:55 +0000 (16:15 -0700)
commitfb2b3c9f68574738c70b9df5fc2bea40f91dd8be
tree26e0c80d9502c0ae0a473c0e24832b9d218d1467
parent89ed7e6e68c176e77c7e2677551c91d4185fe0b4
clk: define and export clk_debugs_add_file

Define and export a new function clk_debugs_add_file which adds a file
to a existing clock's debugfs directory. This can be used by clock
providers to add debugfs entries which are not related to a specific clock
type. Examples include the ability to measure the rate of a clock. It can
also be used by modules to create new debugfs entries. This is useful if you
want to expose features for testing which can potentially cause system
instability such as allowing to change a clock's rate from userspace.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/linux/clk-provider.h
This page took 0.02633 seconds and 5 git commands to generate.