diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-03-20 12:34:10 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-03-27 08:21:39 +0100 |
commit | 8234caed27f7bce141c9fb1f7e76c91a2a66d248 (patch) | |
tree | da89e020f6d9a5ee96064dd22673c621f5520bfa /fs/dlm/requestqueue.c | |
parent | clk: qcom: fix simple_return.cocci warnings (diff) | |
download | linux-8234caed27f7bce141c9fb1f7e76c91a2a66d248.tar.xz linux-8234caed27f7bce141c9fb1f7e76c91a2a66d248.zip |
clk: si5351: Constify clock names and struct regmap_config
The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const.
Replace doubled const in the arrays of clock names with proper const
pointer to const data. This fixes the warnings:
drivers/clk/clk-si5351.c:71:25: warning: duplicate const
drivers/clk/clk-si5351.c:74:25: warning: duplicate const
drivers/clk/clk-si5351.c:77:25: warning: duplicate const
drivers/clk/clk-si5351.c:80:25: warning: duplicate const
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'fs/dlm/requestqueue.c')
0 files changed, 0 insertions, 0 deletions