]> git.baikalelectronics.ru Git - kernel.git/commit
clk: s2mps11: constify clk_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 27 Oct 2018 05:47:40 +0000 (07:47 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 6 Nov 2018 17:42:12 +0000 (09:42 -0800)
commit2ee8679318c4438e5a35fc69b2f32050885a7e56
tree95cd35cca3e5dcbae5ecf220164157eba230a5c3
parentdf409cf0c3a9b5b6ad6309547220a32cc7c0910d
clk: s2mps11: constify clk_ops structure

The clk_ops structure is only stored in the ops fields of
clk_init_data structures.  This field is const, so the clk_ops
structure can be const as well.

Identified and transformed using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-s2mps11.c