[PATCH 32/38] don't use __exit_p to wrap plat_mpc8xxx_spi_remove

Grant Likely grant.likely at secretlab.ca
Wed Nov 25 08:42:22 EST 2009


2009/11/24 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> The function plat_mpc8xxx_spi_remove is defined using __devexit, so don't
> use __exit_p but __devexit_p to wrap it.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Obviously correct.

Acked-by: Grant Likely <grant.likely at secretlab.ca>

g.

> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Kumar Gala <galak at kernel.crashing.org>
> Cc: Anton Vorontsov <avorontsov at ru.mvista.com>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Cc: linux-kernel at vger.kernel.org
> Cc: devicetree-discuss at lists.ozlabs.org
> Cc: David Brownell <dbrownell at users.sourceforge.net>
> Cc: spi-devel-general at lists.sourceforge.net
> ---
>  drivers/spi/spi_mpc8xxx.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/spi/spi_mpc8xxx.c b/drivers/spi/spi_mpc8xxx.c
> index 0fd0ec4..1d98be9 100644
> --- a/drivers/spi/spi_mpc8xxx.c
> +++ b/drivers/spi/spi_mpc8xxx.c
> @@ -900,7 +900,7 @@ static int __devexit plat_mpc8xxx_spi_remove(struct platform_device *pdev)
>  MODULE_ALIAS("platform:mpc8xxx_spi");
>  static struct platform_driver mpc8xxx_spi_driver = {
>        .probe = plat_mpc8xxx_spi_probe,
> -       .remove = __exit_p(plat_mpc8xxx_spi_remove),
> +       .remove = __devexit_p(plat_mpc8xxx_spi_remove),
>        .driver = {
>                .name = "mpc8xxx_spi",
>                .owner = THIS_MODULE,
> --
> 1.6.5.2
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the devicetree-discuss mailing list