From: Krzysztof Kozlowski Date: Fri, 20 Mar 2015 11:34:10 +0000 (+0100) Subject: clk: si5351: Constify clock names and struct regmap_config X-Git-Tag: omap-for-v4.2/o2_dc~66^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8234caed27f7bce141c9fb1f7e76c91a2a66d248;p=pandora-kernel.git 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 Reviewed-by: Max Filippov Signed-off-by: Stephen Boyd --- Reading git-diff-tree failed