aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2018-06-01 21:42:07 -0700
committerStephen Boyd <sboyd@kernel.org>2018-06-01 21:43:28 -0700
commitd75d50c016a4eff96e004921402128dc2bc3d65b (patch)
tree7d6160d554e9a5c7cf01be23fb75ea6da05a267c /Documentation
parentclk: remove clk_debugfs_add_file() (diff)
downloadlinux-dev-d75d50c016a4eff96e004921402128dc2bc3d65b.tar.xz
linux-dev-d75d50c016a4eff96e004921402128dc2bc3d65b.zip
clk: Return void from debug_init op
We only have two users of the debug_init hook, and we recently stopped caring about the return value from that op. Finish that off by changing the clk_op to return void instead of int because it doesn't matter if debugfs fails or not. Cc: Eric Anholt <eric@anholt.net> Cc: David Lechner <david@lechnology.com> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/clk.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/clk.txt b/Documentation/clk.txt
index 511628bb3d3a..593cca5058b1 100644
--- a/Documentation/clk.txt
+++ b/Documentation/clk.txt
@@ -96,7 +96,7 @@ the operations defined in clk-provider.h::
int (*get_phase)(struct clk_hw *hw);
int (*set_phase)(struct clk_hw *hw, int degrees);
void (*init)(struct clk_hw *hw);
- int (*debug_init)(struct clk_hw *hw,
+ void (*debug_init)(struct clk_hw *hw,
struct dentry *dentry);
};