Re: [PATCH 1/1] regulator: dbx500: Make local symbol static

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 04:35:10PM +0530, Sachin Kamat wrote: > power_state_active_get is used only in this file. Make it static. > While at it also move this function definition inside the > CONFIG_REGULATOR_DEBUG macro as it is called only from within it. > This also avoids further build warning

[PATCH 1/1] regulator: dbx500: Make local symbol static

2013-05-08 Thread Sachin Kamat
power_state_active_get is used only in this file. Make it static. While at it also move this function definition inside the CONFIG_REGULATOR_DEBUG macro as it is called only from within it. This also avoids further build warning related to unused definition. Signed-off-by: Sachin Kamat ---

[PATCH 1/1] regulator: dbx500: Make local symbol static

2013-05-08 Thread Sachin Kamat
power_state_active_get is used only in this file. Make it static. While at it also move this function definition inside the CONFIG_REGULATOR_DEBUG macro as it is called only from within it. This also avoids further build warning related to unused definition. Signed-off-by: Sachin Kamat