diff options
| author | Stephen Boyd <[email protected]> | 2018-06-01 21:42:07 -0700 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2018-06-01 21:43:28 -0700 |
| commit | d75d50c016a4eff96e004921402128dc2bc3d65b (patch) | |
| tree | 7d6160d554e9a5c7cf01be23fb75ea6da05a267c /include | |
| parent | c1c2873df06372a108976599583eba7e47483379 (diff) | |
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 <[email protected]>
Cc: David Lechner <[email protected]>
Cc: Sekhar Nori <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'include')
| -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); }; /** |