diff mbox

[v6,4/4] mfd: mt6397: Align the placement at which the mfd_cell of LED is defined

Message ID 1489992447-13007-5-git-send-email-sean.wang@mediatek.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sean Wang March 20, 2017, 6:47 a.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Align the placement as which the mfd_cell of LED is defined as the other
members done on the structure.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/mt6397-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Lee Jones March 20, 2017, 10:45 a.m. UTC | #1
On Mon, 20 Mar 2017, sean.wang@mediatek.com wrote:

> From: Sean Wang <sean.wang@mediatek.com>
> 
> Align the placement as which the mfd_cell of LED is defined as the other
> members done on the structure.
> 
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> Acked-by: Lee Jones <lee.jones@linaro.org>
> ---
>  drivers/mfd/mt6397-core.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
> index 8e601c8..04a601f 100644
> --- a/drivers/mfd/mt6397-core.c
> +++ b/drivers/mfd/mt6397-core.c
> @@ -47,8 +47,7 @@
>  	{
>  		.name = "mt6323-regulator",
>  		.of_compatible = "mediatek,mt6323-regulator"
> -	},
> -	{
> +	}, {
>  		.name = "mt6323-led",
>  		.of_compatible = "mediatek,mt6323-led"
>  	},
diff mbox

Patch

diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index 8e601c8..04a601f 100644
--- a/drivers/mfd/mt6397-core.c
+++ b/drivers/mfd/mt6397-core.c
@@ -47,8 +47,7 @@ 
 	{
 		.name = "mt6323-regulator",
 		.of_compatible = "mediatek,mt6323-regulator"
-	},
-	{
+	}, {
 		.name = "mt6323-led",
 		.of_compatible = "mediatek,mt6323-led"
 	},