[PATCH for 2.6.38] ARM: S5PC110: fix regulator names

Kukjin Kim kgene.kim at samsung.com
Fri Feb 18 04:18:53 EST 2011


Marek Szyprowski wrote:
> 
> Since commit 1130e5b3ff4 regulators are exported to debugfs. The names
> of the regulators that contains slash ('/') causes an ops during kernel
> boot. This patch fixes this issue.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  arch/arm/mach-s5pv210/mach-aquila.c |    6 +++---
>  arch/arm/mach-s5pv210/mach-goni.c   |    6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-
> s5pv210/mach-aquila.c
> index 1236e19..557add4 100644
> --- a/arch/arm/mach-s5pv210/mach-aquila.c
> +++ b/arch/arm/mach-s5pv210/mach-aquila.c
> @@ -149,7 +149,7 @@ static struct regulator_init_data aquila_ldo2_data = {
> 
>  static struct regulator_init_data aquila_ldo3_data = {
>  	.constraints	= {
> -		.name		= "VUSB/MIPI_1.1V",
> +		.name		= "VUSB+MIPI_1.1V",
>  		.min_uV		= 1100000,
>  		.max_uV		= 1100000,
>  		.apply_uV	= 1,
> @@ -197,7 +197,7 @@ static struct regulator_init_data aquila_ldo7_data = {
> 
>  static struct regulator_init_data aquila_ldo8_data = {
>  	.constraints	= {
> -		.name		= "VUSB/VADC_3.3V",
> +		.name		= "VUSB+VADC_3.3V",
>  		.min_uV		= 3300000,
>  		.max_uV		= 3300000,
>  		.apply_uV	= 1,
> @@ -207,7 +207,7 @@ static struct regulator_init_data aquila_ldo8_data = {
> 
>  static struct regulator_init_data aquila_ldo9_data = {
>  	.constraints	= {
> -		.name		= "VCC/VCAM_2.8V",
> +		.name		= "VCC+VCAM_2.8V",
>  		.min_uV		= 2800000,
>  		.max_uV		= 2800000,
>  		.apply_uV	= 1,
> diff --git a/arch/arm/mach-s5pv210/mach-goni.c
b/arch/arm/mach-s5pv210/mach-
> goni.c
> index 2beeb66..056f5c7 100644
> --- a/arch/arm/mach-s5pv210/mach-goni.c
> +++ b/arch/arm/mach-s5pv210/mach-goni.c
> @@ -288,7 +288,7 @@ static struct regulator_init_data goni_ldo2_data = {
> 
>  static struct regulator_init_data goni_ldo3_data = {
>  	.constraints	= {
> -		.name		= "VUSB/MIPI_1.1V",
> +		.name		= "VUSB+MIPI_1.1V",
>  		.min_uV		= 1100000,
>  		.max_uV		= 1100000,
>  		.apply_uV	= 1,
> @@ -337,7 +337,7 @@ static struct regulator_init_data goni_ldo7_data = {
> 
>  static struct regulator_init_data goni_ldo8_data = {
>  	.constraints	= {
> -		.name		= "VUSB/VADC_3.3V",
> +		.name		= "VUSB+VADC_3.3V",
>  		.min_uV		= 3300000,
>  		.max_uV		= 3300000,
>  		.apply_uV	= 1,
> @@ -347,7 +347,7 @@ static struct regulator_init_data goni_ldo8_data = {
> 
>  static struct regulator_init_data goni_ldo9_data = {
>  	.constraints	= {
> -		.name		= "VCC/VCAM_2.8V",
> +		.name		= "VCC+VCAM_2.8V",
>  		.min_uV		= 2800000,
>  		.max_uV		= 2800000,
>  		.apply_uV	= 1,
> --

Ok, applied into s5p-fixes-for-linus for 38.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list