]> git.karo-electronics.de Git - linux-beck.git/commitdiff
serial: xilinx_uartps: Remove leftover __exit_p()
authorMichal Simek <michal.simek@xilinx.com>
Tue, 22 Jan 2013 12:11:11 +0000 (13:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 17:25:33 +0000 (09:25 -0800)
__exit_p() need to be removed after the __devexit
removal from the driver.

Warning log:
drivers/tty/serial/xilinx_uartps.c:996:12:
warning: 'xuartps_remove' defined but not used [-Wunused-function]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c

index e426603d934eaf299dce92af4d71a10781e807fd..ba451c7209fc6b9bbaaf47b9e2d2458f202feaf8 100644 (file)
@@ -1044,7 +1044,7 @@ MODULE_DEVICE_TABLE(of, xuartps_of_match);
 
 static struct platform_driver xuartps_platform_driver = {
        .probe   = xuartps_probe,               /* Probe method */
-       .remove  = __exit_p(xuartps_remove),    /* Detach method */
+       .remove  = xuartps_remove,              /* Detach method */
        .suspend = xuartps_suspend,             /* Suspend */
        .resume  = xuartps_resume,              /* Resume after a suspend */
        .driver  = {