diff mbox

[2/2] mmc: dw_mmc: exynos: Remove unnecessary use of of_match_ptr()

Message ID 1361177589-23953-2-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Feb. 18, 2013, 8:53 a.m. UTC
'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr
is not required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/mmc/host/dw_mmc-exynos.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Jaehoon Chung March 13, 2013, 4:32 a.m. UTC | #1
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

On 02/18/2013 05:53 PM, Sachin Kamat wrote:
> 'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr
> is not required.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/mmc/host/dw_mmc-exynos.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
> index 5a09c77..517a603 100644
> --- a/drivers/mmc/host/dw_mmc-exynos.c
> +++ b/drivers/mmc/host/dw_mmc-exynos.c
> @@ -230,7 +230,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = {
>  	.remove		= __exit_p(dw_mci_pltfm_remove),
>  	.driver		= {
>  		.name		= "dwmmc_exynos",
> -		.of_match_table	= of_match_ptr(dw_mci_exynos_match),
> +		.of_match_table	= dw_mci_exynos_match,
>  		.pm		= &dw_mci_pltfm_pmops,
>  	},
>  };
>
Seungwon Jeon March 13, 2013, 2:17 p.m. UTC | #2
On Monday, February 18, 2013, Sachin Kamat wrote:
> 'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr
> is not required.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Sachin Kamat March 13, 2013, 3:35 p.m. UTC | #3
Hi Chris,

On 13 March 2013 19:47, Seungwon Jeon <tgih.jun@samsung.com> wrote:
> On Monday, February 18, 2013, Sachin Kamat wrote:
>> 'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr
>> is not required.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>
> Acked-by: Seungwon Jeon <tgih.jun@samsung.com>


Here are the required Ack's for you to apply the patch :)
Chris Ball March 22, 2013, 4:54 p.m. UTC | #4
Hi,

On Wed, Mar 13 2013, Seungwon Jeon wrote:
> On Monday, February 18, 2013, Sachin Kamat wrote:
>> 'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr
>> is not required.
>> 
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>
> Acked-by: Seungwon Jeon <tgih.jun@samsung.com>

Thanks, pushed to mmc-next for 3.10.

- Chris.
diff mbox

Patch

diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
index 5a09c77..517a603 100644
--- a/drivers/mmc/host/dw_mmc-exynos.c
+++ b/drivers/mmc/host/dw_mmc-exynos.c
@@ -230,7 +230,7 @@  static struct platform_driver dw_mci_exynos_pltfm_driver = {
 	.remove		= __exit_p(dw_mci_pltfm_remove),
 	.driver		= {
 		.name		= "dwmmc_exynos",
-		.of_match_table	= of_match_ptr(dw_mci_exynos_match),
+		.of_match_table	= dw_mci_exynos_match,
 		.pm		= &dw_mci_pltfm_pmops,
 	},
 };