Drivers: media: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -58,7 +58,7 @@ err_get_value:
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static int __devinit gpio_ir_recv_probe(struct platform_device *pdev)
|
||||
static int gpio_ir_recv_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_rc_dev *gpio_dev;
|
||||
struct rc_dev *rcdev;
|
||||
@@ -140,7 +140,7 @@ err_allocate_device:
|
||||
return rc;
|
||||
}
|
||||
|
||||
static int __devexit gpio_ir_recv_remove(struct platform_device *pdev)
|
||||
static int gpio_ir_recv_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_rc_dev *gpio_dev = platform_get_drvdata(pdev);
|
||||
|
||||
@@ -188,7 +188,7 @@ static const struct dev_pm_ops gpio_ir_recv_pm_ops = {
|
||||
|
||||
static struct platform_driver gpio_ir_recv_driver = {
|
||||
.probe = gpio_ir_recv_probe,
|
||||
.remove = __devexit_p(gpio_ir_recv_remove),
|
||||
.remove = gpio_ir_recv_remove,
|
||||
.driver = {
|
||||
.name = GPIO_IR_DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
Reference in New Issue
Block a user