char: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Geoff Levand <geoff@infradead.org> Cc: Mattia Dongili <malattia@linux.it> Cc: Amit Shah <amit.shah@redhat.com> Cc: openipmi-developer@lists.sourceforge.net Cc: linuxppc-dev@lists.ozlabs.org Cc: cbe-oss-dev@lists.ozlabs.org Cc: platform-driver-x86@vger.kernel.org Cc: virtualization@lists.linux-foundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
4dde2d2f3a
commit
2223cbec33
@@ -1164,7 +1164,7 @@ static struct acpi_driver sonypi_acpi_driver = {
|
||||
};
|
||||
#endif
|
||||
|
||||
static int __devinit sonypi_create_input_devices(struct platform_device *pdev)
|
||||
static int sonypi_create_input_devices(struct platform_device *pdev)
|
||||
{
|
||||
struct input_dev *jog_dev;
|
||||
struct input_dev *key_dev;
|
||||
@@ -1225,7 +1225,7 @@ static int __devinit sonypi_create_input_devices(struct platform_device *pdev)
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devinit sonypi_setup_ioports(struct sonypi_device *dev,
|
||||
static int sonypi_setup_ioports(struct sonypi_device *dev,
|
||||
const struct sonypi_ioport_list *ioport_list)
|
||||
{
|
||||
/* try to detect if sony-laptop is being used and thus
|
||||
@@ -1265,7 +1265,7 @@ static int __devinit sonypi_setup_ioports(struct sonypi_device *dev,
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
static int __devinit sonypi_setup_irq(struct sonypi_device *dev,
|
||||
static int sonypi_setup_irq(struct sonypi_device *dev,
|
||||
const struct sonypi_irq_list *irq_list)
|
||||
{
|
||||
while (irq_list->irq) {
|
||||
@@ -1282,7 +1282,7 @@ static int __devinit sonypi_setup_irq(struct sonypi_device *dev,
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
static void __devinit sonypi_display_info(void)
|
||||
static void sonypi_display_info(void)
|
||||
{
|
||||
printk(KERN_INFO "sonypi: detected type%d model, "
|
||||
"verbose = %d, fnkeyinit = %s, camera = %s, "
|
||||
@@ -1304,7 +1304,7 @@ static void __devinit sonypi_display_info(void)
|
||||
sonypi_misc_device.minor);
|
||||
}
|
||||
|
||||
static int __devinit sonypi_probe(struct platform_device *dev)
|
||||
static int sonypi_probe(struct platform_device *dev)
|
||||
{
|
||||
const struct sonypi_ioport_list *ioport_list;
|
||||
const struct sonypi_irq_list *irq_list;
|
||||
|
Reference in New Issue
Block a user