Re: [PATCH] ARM: rockchip: Constify struct regmap_config and staticize local function

2015-03-01 Thread Heiko Stuebner
Hi Krzysztof, Am Dienstag, 24. Februar 2015, 10:38:47 schrieb Krzysztof Kozlowski: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Make function rockchip_get_core_reset() static because it is not used > outside of

[PATCH] ARM: rockchip: Constify struct regmap_config and staticize local function

2015-02-24 Thread Krzysztof Kozlowski
The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Make function rockchip_get_core_reset() static because it is not used outside of the platsmp.c file. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-rockchip/platsmp.c