diff options
author | Andrey Smirnov <[email protected]> | 2019-07-17 07:56:51 -0700 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2019-08-07 21:56:04 -0700 |
commit | 570aaec7e9436eae5ffe4588d08e5262731e1b75 (patch) | |
tree | 717742a81c827540aa2dc9ba62ef24a5835b1440 /lib/test_overflow.c | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) |
clk: Constify struct clk_bulk_data * where possible
The following functions:
- clk_bulk_enable()
- clk_bulk_prepare()
- clk_bulk_disable()
- clk_bulk_unprepare()
already expect const clk_bulk_data * as a second parameter, however
their no-op version have mismatching prototypes that don't. Fix that.
While at it, constify the second argument of clk_bulk_prepare_enable()
and clk_bulk_disable_unprepare(), since the functions they are
comprised of already accept const clk_bulk_data *.
Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Russell King <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions