diff mbox

[4/4] ARM: dts: at91: sama5d4_ma5d4evk: fix regulator names

Message ID 1468363508-23843-4-git-send-email-alexandre.belloni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandre Belloni July 12, 2016, 10:45 p.m. UTC
vcc_mmc1_reg is a fixed regulators and doesn't need a reg property. Remove
its unit-address.

Solves:
Warning (unit_address_vs_reg): Node /fixedregulator@2 has a unit name, but no reg property

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
Cc: Marek Vasut <marex@denx.de>
 arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Vasut July 14, 2016, 3:47 p.m. UTC | #1
On 07/13/2016 12:45 AM, Alexandre Belloni wrote:
> vcc_mmc1_reg is a fixed regulators and doesn't need a reg property. Remove
> its unit-address.
>
> Solves:
> Warning (unit_address_vs_reg): Node /fixedregulator@2 has a unit name, but no reg property
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

Reviewed-by: Marek Vasut <marex@denx.de>

> ---
> Cc: Marek Vasut <marex@denx.de>
>  arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts b/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
> index abaaba58fbec..eac4ea2744cc 100644
> --- a/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
> @@ -159,7 +159,7 @@
>  		};
>  	};
>
> -	vcc_mmc1_reg: fixedregulator@2 {
> +	vcc_mmc1_reg: fixedregulator_mmc1 {
>  		compatible = "regulator-fixed";
>  		gpio = <&pioE 17 GPIO_ACTIVE_LOW>;
>  		regulator-name = "VDD MCI1";
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts b/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
index abaaba58fbec..eac4ea2744cc 100644
--- a/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
+++ b/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
@@ -159,7 +159,7 @@ 
 		};
 	};
 
-	vcc_mmc1_reg: fixedregulator@2 {
+	vcc_mmc1_reg: fixedregulator_mmc1 {
 		compatible = "regulator-fixed";
 		gpio = <&pioE 17 GPIO_ACTIVE_LOW>;
 		regulator-name = "VDD MCI1";