Skip to content

Commit

Permalink
rtc: don't use __exit_p to wrap ds1302_rtc_remove
Browse files Browse the repository at this point in the history
The function ds1302_rtc_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@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: linux-kernel@vger.kernel.org
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Uwe Kleine-König authored and Paul Mundt committed Nov 25, 2009
1 parent 0f09e19 commit b9e05c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-ds1302.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static struct platform_driver ds1302_platform_driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
},
.remove = __exit_p(ds1302_rtc_remove),
.remove = __devexit_p(ds1302_rtc_remove),
};

static int __init ds1302_rtc_init(void)
Expand Down

0 comments on commit b9e05c6

Please sign in to comment.