diff options
author | Stephen Boyd <sboyd@kernel.org> | 2018-06-01 21:42:07 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-06-01 21:43:28 -0700 |
commit | d75d50c016a4eff96e004921402128dc2bc3d65b (patch) | |
tree | 7d6160d554e9a5c7cf01be23fb75ea6da05a267c /Documentation | |
parent | c1c2873df06372a108976599583eba7e47483379 (diff) | |
download | linux-d75d50c016a4eff96e004921402128dc2bc3d65b.tar.bz2 |
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.txt | 2 |
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); }; |