Re: [PATCH] mmc: dw_mmc: rockchip: remove incorrect __exit_p()

2015-01-27 Thread Ulf Hansson
On 24 January 2015 at 01:30, Dmitry Torokhov  wrote:
> dw_mci_pltfm_remove() is not (nor should it be) marked as __exit,
> so we should not be using __exit_p() wrapper with it.
>
> Signed-off-by: Dmitry Torokhov 

Thanks! Applied for next.

Kind regards
Uffe


> ---
>  drivers/mmc/host/dw_mmc-rockchip.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/dw_mmc-rockchip.c 
> b/drivers/mmc/host/dw_mmc-rockchip.c
> index 5650ac4..e2a726a 100644
> --- a/drivers/mmc/host/dw_mmc-rockchip.c
> +++ b/drivers/mmc/host/dw_mmc-rockchip.c
> @@ -133,7 +133,7 @@ static SIMPLE_DEV_PM_OPS(dw_mci_rockchip_pmops,
>
>  static struct platform_driver dw_mci_rockchip_pltfm_driver = {
> .probe  = dw_mci_rockchip_probe,
> -   .remove = __exit_p(dw_mci_pltfm_remove),
> +   .remove = dw_mci_pltfm_remove,
> .driver = {
> .name   = "dwmmc_rockchip",
> .of_match_table = dw_mci_rockchip_match,
> --
> 2.2.0.rc0.207.ga3a616c
>
>
> --
> Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] mmc: dw_mmc: rockchip: remove incorrect __exit_p()

2015-01-27 Thread Ulf Hansson
On 24 January 2015 at 01:30, Dmitry Torokhov dmitry.torok...@gmail.com wrote:
 dw_mci_pltfm_remove() is not (nor should it be) marked as __exit,
 so we should not be using __exit_p() wrapper with it.

 Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com

Thanks! Applied for next.

Kind regards
Uffe


 ---
  drivers/mmc/host/dw_mmc-rockchip.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/drivers/mmc/host/dw_mmc-rockchip.c 
 b/drivers/mmc/host/dw_mmc-rockchip.c
 index 5650ac4..e2a726a 100644
 --- a/drivers/mmc/host/dw_mmc-rockchip.c
 +++ b/drivers/mmc/host/dw_mmc-rockchip.c
 @@ -133,7 +133,7 @@ static SIMPLE_DEV_PM_OPS(dw_mci_rockchip_pmops,

  static struct platform_driver dw_mci_rockchip_pltfm_driver = {
 .probe  = dw_mci_rockchip_probe,
 -   .remove = __exit_p(dw_mci_pltfm_remove),
 +   .remove = dw_mci_pltfm_remove,
 .driver = {
 .name   = dwmmc_rockchip,
 .of_match_table = dw_mci_rockchip_match,
 --
 2.2.0.rc0.207.ga3a616c


 --
 Dmitry
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] mmc: dw_mmc: rockchip: remove incorrect __exit_p()

2015-01-26 Thread Doug Anderson
Dmitry,

On Fri, Jan 23, 2015 at 4:30 PM, Dmitry Torokhov
 wrote:
> dw_mci_pltfm_remove() is not (nor should it be) marked as __exit,
> so we should not be using __exit_p() wrapper with it.
>
> Signed-off-by: Dmitry Torokhov 
> ---
>  drivers/mmc/host/dw_mmc-rockchip.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Nice catch, thanks!

Reviewed-by: Doug Anderson 
Tested-by: Doug Anderson 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] mmc: dw_mmc: rockchip: remove incorrect __exit_p()

2015-01-26 Thread Doug Anderson
Dmitry,

On Fri, Jan 23, 2015 at 4:30 PM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
 dw_mci_pltfm_remove() is not (nor should it be) marked as __exit,
 so we should not be using __exit_p() wrapper with it.

 Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com
 ---
  drivers/mmc/host/dw_mmc-rockchip.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Nice catch, thanks!

Reviewed-by: Doug Anderson diand...@chromium.org
Tested-by: Doug Anderson diand...@chromium.org
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/