tty: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Jiri Slaby <jirislaby@gmail.com> Cc: Alan Cox <alan@linux.intel.com> Acked-by: Tobias Klauser <tklauser@distanz.ch> Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com> Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Peter Korsgaard <jacmet@sunsite.dk> Cc: Tony Prisk <linux@prisktech.co.nz> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
此提交包含在:
@@ -542,7 +542,7 @@ static int ulite_assign(struct device *dev, int id, u32 base, int irq)
|
||||
*
|
||||
* @dev: pointer to device structure
|
||||
*/
|
||||
static int __devexit ulite_release(struct device *dev)
|
||||
static int ulite_release(struct device *dev)
|
||||
{
|
||||
struct uart_port *port = dev_get_drvdata(dev);
|
||||
int rc = 0;
|
||||
@@ -593,7 +593,7 @@ static int ulite_probe(struct platform_device *pdev)
|
||||
return ulite_assign(&pdev->dev, id, res->start, res2->start);
|
||||
}
|
||||
|
||||
static int __devexit ulite_remove(struct platform_device *pdev)
|
||||
static int ulite_remove(struct platform_device *pdev)
|
||||
{
|
||||
return ulite_release(&pdev->dev);
|
||||
}
|
||||
|
新增問題並參考
封鎖使用者