mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
rtc: don't use __exit_p to wrap ds1302_rtc_remove
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 <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: [email protected] Cc: Paul Gortmaker <[email protected]> Cc: [email protected] Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
0f09e197a3
commit
b9e05c64a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue