mirror of https://gitee.com/openkylin/linux.git
serial: sh-sci: don't use __devexit_p to wrap sci_remove
The function sci_remove is defined without any section modifier, so don't use __devexit_p to wrap it. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Magnus Damm <damm@opensource.se> Cc: linux-kernel@vger.kernel.org Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
b9e05c64a0
commit
b9e39c89a9
|
@ -1370,7 +1370,7 @@ static struct dev_pm_ops sci_dev_pm_ops = {
|
|||
|
||||
static struct platform_driver sci_driver = {
|
||||
.probe = sci_probe,
|
||||
.remove = __devexit_p(sci_remove),
|
||||
.remove = sci_remove,
|
||||
.driver = {
|
||||
.name = "sh-sci",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
Loading…
Reference in New Issue