lkml.org 
[lkml]   [2009]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 25/34] don't use __devexit_p to wrap snirm710_driver_remove
    Date
    The function snirm710_driver_remove is defined using __exit, so don't
    use __devexit_p but __exit_p to wrap it.

    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Cc: James E.J. Bottomley <James.Bottomley@suse.de>
    Cc: Yang Hongyang <yanghy@cn.fujitsu.com>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Greg Kroah-Hartman <gregkh@suse.de>
    Cc: linux-scsi@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    ---
    drivers/scsi/sni_53c710.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c
    index 37b3359..491a088 100644
    --- a/drivers/scsi/sni_53c710.c
    +++ b/drivers/scsi/sni_53c710.c
    @@ -133,7 +133,7 @@ static int __exit snirm710_driver_remove(struct platform_device *dev)

    static struct platform_driver snirm710_driver = {
    .probe = snirm710_probe,
    - .remove = __devexit_p(snirm710_driver_remove),
    + .remove = __exit_p(snirm710_driver_remove),
    .driver = {
    .name = "snirm_53c710",
    .owner = THIS_MODULE,
    --
    1.6.4.3
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-10-01 10:37    [W:0.027 / U:65.004 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site