mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue