diff options
author | Stephen Boyd <sboyd@kernel.org> | 2018-06-02 07:42:07 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-06-02 07:43:28 +0300 |
commit | d75d50c016a4eff96e004921402128dc2bc3d65b (patch) | |
tree | 7d6160d554e9a5c7cf01be23fb75ea6da05a267c /include/linux/clk-provider.h | |
parent | c1c2873df06372a108976599583eba7e47483379 (diff) | |
download | linux-d75d50c016a4eff96e004921402128dc2bc3d65b.tar.xz |
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 'include/linux/clk-provider.h')
-rw-r--r-- | include/linux/clk-provider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 00e55d4d07f1..a4dc15afbdaf 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -218,7 +218,7 @@ struct clk_ops { 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, struct dentry *dentry); + void (*debug_init)(struct clk_hw *hw, struct dentry *dentry); }; /** |