]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
watchdog: remove use of __devinit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:21:41 +0000 (13:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:00:24 +0000 (12:00 -0800)
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
52 files changed:
drivers/watchdog/acquirewdt.c
drivers/watchdog/advantechwdt.c
drivers/watchdog/ar7_wdt.c
drivers/watchdog/at91rm9200_wdt.c
drivers/watchdog/ath79_wdt.c
drivers/watchdog/bcm63xx_wdt.c
drivers/watchdog/bfin_wdt.c
drivers/watchdog/cpu5wdt.c
drivers/watchdog/cpwd.c
drivers/watchdog/da9052_wdt.c
drivers/watchdog/davinci_wdt.c
drivers/watchdog/dw_wdt.c
drivers/watchdog/ep93xx_wdt.c
drivers/watchdog/gef_wdt.c
drivers/watchdog/geodewdt.c
drivers/watchdog/hpwdt.c
drivers/watchdog/i6300esb.c
drivers/watchdog/iTCO_wdt.c
drivers/watchdog/ib700wdt.c
drivers/watchdog/ie6xx_wdt.c
drivers/watchdog/jz4740_wdt.c
drivers/watchdog/ks8695_wdt.c
drivers/watchdog/lantiq_wdt.c
drivers/watchdog/max63xx_wdt.c
drivers/watchdog/mpc8xxx_wdt.c
drivers/watchdog/mpcore_wdt.c
drivers/watchdog/mtx-1_wdt.c
drivers/watchdog/mv64x60_wdt.c
drivers/watchdog/nuc900_wdt.c
drivers/watchdog/nv_tco.c
drivers/watchdog/of_xilinx_wdt.c
drivers/watchdog/omap_wdt.c
drivers/watchdog/orion_wdt.c
drivers/watchdog/pcwd.c
drivers/watchdog/pcwd_pci.c
drivers/watchdog/pnx4008_wdt.c
drivers/watchdog/rc32434_wdt.c
drivers/watchdog/rdc321x_wdt.c
drivers/watchdog/riowd.c
drivers/watchdog/s3c2410_wdt.c
drivers/watchdog/sch311x_wdt.c
drivers/watchdog/shwdt.c
drivers/watchdog/sp5100_tco.c
drivers/watchdog/sp805_wdt.c
drivers/watchdog/stmp3xxx_wdt.c
drivers/watchdog/ts72xx_wdt.c
drivers/watchdog/twl4030_wdt.c
drivers/watchdog/via_wdt.c
drivers/watchdog/wdt_pci.c
drivers/watchdog/wm831x_wdt.c
drivers/watchdog/wm8350_wdt.c
drivers/watchdog/xen_wdt.c

index 49e0b89ceed943dc01f6a3929bd1c075f8611814..e009f938e667704af96e4dc1059b95fe1b087c50 100644 (file)
@@ -240,7 +240,7 @@ static struct miscdevice acq_miscdev = {
  *     Init & exit routines
  */
 
-static int __devinit acq_probe(struct platform_device *dev)
+static int acq_probe(struct platform_device *dev)
 {
        int ret;
 
index 9a74156f05eed6db63454bddf0eec69d119256fb..cc50c57a35758136dee8eb05aba4c36565e98e16 100644 (file)
@@ -238,7 +238,7 @@ static struct miscdevice advwdt_miscdev = {
  *     Init & exit routines
  */
 
-static int __devinit advwdt_probe(struct platform_device *dev)
+static int advwdt_probe(struct platform_device *dev)
 {
        int ret;
 
index eb633d9951a2bf7591f2ce48b2d2c73bdd9f3733..154347ec0fc3bec565959f2a1f01a13267236db8 100644 (file)
@@ -274,7 +274,7 @@ static struct miscdevice ar7_wdt_miscdev = {
        .fops           = &ar7_wdt_fops,
 };
 
-static int __devinit ar7_wdt_probe(struct platform_device *pdev)
+static int ar7_wdt_probe(struct platform_device *pdev)
 {
        int rc;
 
index 75f3a6bc323ba75d52a156476f0b16e9a9b5b54e..cc290bbcb39e937ed8b3e8f054fb78a7d6b3686b 100644 (file)
@@ -199,7 +199,7 @@ static struct miscdevice at91wdt_miscdev = {
        .fops           = &at91wdt_fops,
 };
 
-static int __devinit at91wdt_probe(struct platform_device *pdev)
+static int at91wdt_probe(struct platform_device *pdev)
 {
        int res;
 
index 367ef5ed19b7cbb9cfc89222018617ac1f943c60..5c0967d430219588cf547582ef006f7643096c7a 100644 (file)
@@ -224,7 +224,7 @@ static struct miscdevice ath79_wdt_miscdev = {
        .fops = &ath79_wdt_fops,
 };
 
-static int __devinit ath79_wdt_probe(struct platform_device *pdev)
+static int ath79_wdt_probe(struct platform_device *pdev)
 {
        u32 ctrl;
        int err;
index e81b78444fa9cb48a57ecd380a0535497953e874..5a7cff6e093c9f4a865c3e96b9035a9d2cdb3561 100644 (file)
@@ -236,7 +236,7 @@ static struct miscdevice bcm63xx_wdt_miscdev = {
 };
 
 
-static int __devinit bcm63xx_wdt_probe(struct platform_device *pdev)
+static int bcm63xx_wdt_probe(struct platform_device *pdev)
 {
        int ret;
        struct resource *r;
index 4a85dbf5aec035ecd4e2024a0d1c519797b0a200..241f8af88d15986e506f77be48c7160f7064d7cf 100644 (file)
@@ -356,7 +356,7 @@ static const struct watchdog_info bfin_wdt_info = {
  *     Registers the misc device.  Actual device
  *     initialization is handled by bfin_wdt_open().
  */
-static int __devinit bfin_wdt_probe(struct platform_device *pdev)
+static int bfin_wdt_probe(struct platform_device *pdev)
 {
        int ret;
 
index 7e888393de1ffcd652f73d3078dede07a540b4a8..6eb710b5be7605c3ec585afe4c05929ada92af1f 100644 (file)
@@ -215,7 +215,7 @@ static struct miscdevice cpu5wdt_misc = {
 
 /* init/exit function */
 
-static int __devinit cpu5wdt_init(void)
+static int cpu5wdt_init(void)
 {
        unsigned int val;
        int err;
@@ -256,7 +256,7 @@ no_port:
        return err;
 }
 
-static int __devinit cpu5wdt_init_module(void)
+static int cpu5wdt_init_module(void)
 {
        return cpu5wdt_init();
 }
index ed7f434bba79ad294a51b55ca39e2a742c219a28..731578b3b440e700a7d7d9702825777d586347dc 100644 (file)
@@ -528,7 +528,7 @@ static const struct file_operations cpwd_fops = {
        .llseek =               no_llseek,
 };
 
-static int __devinit cpwd_probe(struct platform_device *op)
+static int cpwd_probe(struct platform_device *op)
 {
        struct device_node *options;
        const char *str_prop;
index 463e9e55b5604c0aa67cc2784dc036b4f1b8d750..93a31657029435efac76e1e2f297dbd1a39745fc 100644 (file)
@@ -179,7 +179,7 @@ static const struct watchdog_ops da9052_wdt_ops = {
 };
 
 
-static int __devinit da9052_wdt_probe(struct platform_device *pdev)
+static int da9052_wdt_probe(struct platform_device *pdev)
 {
        struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
        struct da9052_wdt_data *driver_data;
index ea4e96259a82d27e6fde1272e7ba92f402416986..6fc22d2e5e18a96f73e35a21405ae0ab4da2fa81 100644 (file)
@@ -199,7 +199,7 @@ static struct miscdevice davinci_wdt_miscdev = {
        .fops = &davinci_wdt_fops,
 };
 
-static int __devinit davinci_wdt_probe(struct platform_device *pdev)
+static int davinci_wdt_probe(struct platform_device *pdev)
 {
        int ret = 0, size;
        struct device *dev = &pdev->dev;
index 6a8448dcc20e41c5ce7b321c70ee3d3988be8bde..49e24e5ac4ac20dd42931b65ee9d65bc5fc725a0 100644 (file)
@@ -293,7 +293,7 @@ static struct miscdevice dw_wdt_miscdev = {
        .minor          = WATCHDOG_MINOR,
 };
 
-static int __devinit dw_wdt_drv_probe(struct platform_device *pdev)
+static int dw_wdt_drv_probe(struct platform_device *pdev)
 {
        int ret;
        struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
index 91703a58145db5af873ca9e8e6494174b7bb9912..f1bd88c5a2047e903000a09f0ec3ec141871b7be 100644 (file)
@@ -112,7 +112,7 @@ static struct watchdog_device ep93xx_wdt_wdd = {
        .ops            = &ep93xx_wdt_ops,
 };
 
-static int __devinit ep93xx_wdt_probe(struct platform_device *pdev)
+static int ep93xx_wdt_probe(struct platform_device *pdev)
 {
        struct resource *res;
        unsigned long val;
index 17f4cae770c673190a96c996997a4fc06c80285b..276f0092e6dbe199b8796325ac0df5c02c0f4a9b 100644 (file)
@@ -262,7 +262,7 @@ static struct miscdevice gef_wdt_miscdev = {
 };
 
 
-static int __devinit gef_wdt_probe(struct platform_device *dev)
+static int gef_wdt_probe(struct platform_device *dev)
 {
        int timeout = 10;
        u32 freq;
index a340e04f2379c01fb4b0f35c3cd8a2e0f92aa516..28a3a871726271239d88914b15a6ec2ff3a1f238 100644 (file)
@@ -215,7 +215,7 @@ static struct miscdevice geodewdt_miscdev = {
        .fops = &geodewdt_fops,
 };
 
-static int __devinit geodewdt_probe(struct platform_device *dev)
+static int geodewdt_probe(struct platform_device *dev)
 {
        int ret;
 
index 03687bcc74f223a53a96f2dc2c6bae9f439c3260..cc25ddfa84eb34f756028f8bdfe846506b768305 100644 (file)
@@ -212,7 +212,7 @@ asm(".text                          \n\t"
  *     0        :  SUCCESS
  *     <0       :  FAILURE
  */
-static int __devinit cru_detect(unsigned long map_entry,
+static int cru_detect(unsigned long map_entry,
        unsigned long map_offset)
 {
        void *bios32_map;
@@ -268,7 +268,7 @@ static int __devinit cru_detect(unsigned long map_entry,
 /*
  *     bios_checksum
  */
-static int __devinit bios_checksum(const char __iomem *ptr, int len)
+static int bios_checksum(const char __iomem *ptr, int len)
 {
        char sum = 0;
        int i;
@@ -293,7 +293,7 @@ static int __devinit bios_checksum(const char __iomem *ptr, int len)
  *     0        :  SUCCESS
  *     <0       :  FAILURE
  */
-static int __devinit bios32_present(const char __iomem *p)
+static int bios32_present(const char __iomem *p)
 {
        struct bios32_service_dir *bios_32_ptr;
        int length;
@@ -323,7 +323,7 @@ static int __devinit bios32_present(const char __iomem *p)
        return -ENODEV;
 }
 
-static int __devinit detect_cru_service(void)
+static int detect_cru_service(void)
 {
        char __iomem *p, *q;
        int rc = -1;
@@ -395,7 +395,7 @@ asm(".text                      \n\t"
  *     This function checks whether or not a SMBIOS/DMI record is
  *     the 64bit CRU info or not
  */
-static void __devinit dmi_find_cru(const struct dmi_header *dm, void *dummy)
+static void dmi_find_cru(const struct dmi_header *dm, void *dummy)
 {
        struct smbios_cru64_info *smbios_cru64_ptr;
        unsigned long cru_physical_address;
@@ -414,7 +414,7 @@ static void __devinit dmi_find_cru(const struct dmi_header *dm, void *dummy)
        }
 }
 
-static int __devinit detect_cru_service(void)
+static int detect_cru_service(void)
 {
        cru_rom_addr = NULL;
 
@@ -647,7 +647,7 @@ static struct miscdevice hpwdt_miscdev = {
 
 #ifdef CONFIG_HPWDT_NMI_DECODING
 #ifdef CONFIG_X86_LOCAL_APIC
-static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
+static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
 {
        /*
         * If nmi_watchdog is turned off then we can turn on
@@ -656,7 +656,7 @@ static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
        hpwdt_nmi_decoding = 1;
 }
 #else
-static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
+static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
 {
        dev_warn(&dev->dev, "NMI decoding is disabled. "
                "Your kernel does not support a NMI Watchdog.\n");
@@ -671,7 +671,7 @@ static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
  *     This check is independent of architecture and needs to be made for
  *     any ProLiant system.
  */
-static void __devinit dmi_find_icru(const struct dmi_header *dm, void *dummy)
+static void dmi_find_icru(const struct dmi_header *dm, void *dummy)
 {
        struct smbios_proliant_info *smbios_proliant_ptr;
 
@@ -682,7 +682,7 @@ static void __devinit dmi_find_icru(const struct dmi_header *dm, void *dummy)
        }
 }
 
-static int __devinit hpwdt_init_nmi_decoding(struct pci_dev *dev)
+static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
 {
        int retval;
 
@@ -762,11 +762,11 @@ static void hpwdt_exit_nmi_decoding(void)
                iounmap(cru_rom_addr);
 }
 #else /* !CONFIG_HPWDT_NMI_DECODING */
-static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
+static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
 {
 }
 
-static int __devinit hpwdt_init_nmi_decoding(struct pci_dev *dev)
+static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
 {
        return 0;
 }
@@ -776,7 +776,7 @@ static void hpwdt_exit_nmi_decoding(void)
 }
 #endif /* CONFIG_HPWDT_NMI_DECODING */
 
-static int __devinit hpwdt_init_one(struct pci_dev *dev,
+static int hpwdt_init_one(struct pci_dev *dev,
                                        const struct pci_device_id *ent)
 {
        int retval;
index 2574066c6343e2aab5c7b0f01a784bf4ecadfb91..31b87db90261a1a4c02be4d606e2dcd39c8da8c8 100644 (file)
@@ -344,7 +344,7 @@ MODULE_DEVICE_TABLE(pci, esb_pci_tbl);
  *      Init & exit routines
  */
 
-static unsigned char __devinit esb_getdevice(struct pci_dev *pdev)
+static unsigned char esb_getdevice(struct pci_dev *pdev)
 {
        if (pci_enable_device(pdev)) {
                pr_err("failed to enable device\n");
@@ -375,7 +375,7 @@ err_devput:
        return 0;
 }
 
-static void __devinit esb_initdevice(void)
+static void esb_initdevice(void)
 {
        u8 val1;
        u16 val2;
@@ -416,7 +416,7 @@ static void __devinit esb_initdevice(void)
        esb_timer_set_heartbeat(heartbeat);
 }
 
-static int __devinit esb_probe(struct pci_dev *pdev,
+static int esb_probe(struct pci_dev *pdev,
                const struct pci_device_id *ent)
 {
        int ret;
index b83f935f6d4d9b2c2bb01ed9f571f22ac17e3328..fb341df65614536b5c9b85a0110de95fbe2eed57 100644 (file)
@@ -390,7 +390,7 @@ static void __devexit iTCO_wdt_cleanup(void)
        iTCO_wdt_private.gcs = NULL;
 }
 
-static int __devinit iTCO_wdt_probe(struct platform_device *dev)
+static int iTCO_wdt_probe(struct platform_device *dev)
 {
        int ret = -ENODEV;
        unsigned long val32;
index 4e992c87741c4059ca7e935df8a3d01c2dfb9909..5249596db2abd6c1d8952d413fd34fd2dbac0b01 100644 (file)
@@ -277,7 +277,7 @@ static struct miscdevice ibwdt_miscdev = {
  *     Init & exit routines
  */
 
-static int __devinit ibwdt_probe(struct platform_device *dev)
+static int ibwdt_probe(struct platform_device *dev)
 {
        int res;
 
index 93b2cda2f8ddba039a1f7789ed4c2ae9b226591c..94eef6fec0f358552a370d78dd2753ced222e90e 100644 (file)
@@ -225,7 +225,7 @@ static const struct file_operations ie6xx_wdt_dbg_operations = {
        .release        = single_release,
 };
 
-static void __devinit ie6xx_wdt_debugfs_init(void)
+static void ie6xx_wdt_debugfs_init(void)
 {
        /* /sys/kernel/debug/ie6xx_wdt */
        ie6xx_wdt_data.debugfs = debugfs_create_file("ie6xx_wdt",
@@ -238,7 +238,7 @@ static void ie6xx_wdt_debugfs_exit(void)
 }
 
 #else
-static void __devinit ie6xx_wdt_debugfs_init(void)
+static void ie6xx_wdt_debugfs_init(void)
 {
 }
 
@@ -247,7 +247,7 @@ static void ie6xx_wdt_debugfs_exit(void)
 }
 #endif
 
-static int __devinit ie6xx_wdt_probe(struct platform_device *pdev)
+static int ie6xx_wdt_probe(struct platform_device *pdev)
 {
        struct resource *res;
        u8 wdtlr;
index 331a61340fe8c3245573231c95e90730524ba7a0..eb7008a1d6e6c16f76e088c1e70d811571c48c8a 100644 (file)
@@ -144,7 +144,7 @@ static const struct watchdog_ops jz4740_wdt_ops = {
        .set_timeout = jz4740_wdt_set_timeout,
 };
 
-static int __devinit jz4740_wdt_probe(struct platform_device *pdev)
+static int jz4740_wdt_probe(struct platform_device *pdev)
 {
        struct jz4740_wdt_drvdata *drvdata;
        struct watchdog_device *jz4740_wdt;
index 6ac9ff2493f6bfd73232ef961d5ab20e787a7645..c305adb49fbfe2c3e39eb987a3d417b29154ef25 100644 (file)
@@ -235,7 +235,7 @@ static struct miscdevice ks8695wdt_miscdev = {
        .fops           = &ks8695wdt_fops,
 };
 
-static int __devinit ks8695wdt_probe(struct platform_device *pdev)
+static int ks8695wdt_probe(struct platform_device *pdev)
 {
        int res;
 
index ce4df083d7faaa1c8c88d7372887229621c6f8ec..fd9f43c48d470a623d51fe939f6b817419fbc2f7 100644 (file)
@@ -186,7 +186,7 @@ static struct miscdevice ltq_wdt_miscdev = {
        .fops   = &ltq_wdt_fops,
 };
 
-static int __devinit
+static int
 ltq_wdt_probe(struct platform_device *pdev)
 {
        struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
index 7e952217cf6bdbb798c87b9c6af563c365d2e6d8..b572c751ebf56e15a4c4b1fa2a010830f5528850 100644 (file)
@@ -174,7 +174,7 @@ static struct watchdog_device max63xx_wdt_dev = {
        .ops = &max63xx_wdt_ops,
 };
 
-static int __devinit max63xx_wdt_probe(struct platform_device *pdev)
+static int max63xx_wdt_probe(struct platform_device *pdev)
 {
        struct resource *wdt_mem;
        struct max63xx_timeout *table;
index e44d6d9c1f35b7ea150bd44b530a06511882b4be..5c23a6bac944326e5436de27665bcf0ea074079a 100644 (file)
@@ -188,7 +188,7 @@ static struct miscdevice mpc8xxx_wdt_miscdev = {
 };
 
 static const struct of_device_id mpc8xxx_wdt_match[];
-static int __devinit mpc8xxx_wdt_probe(struct platform_device *ofdev)
+static int mpc8xxx_wdt_probe(struct platform_device *ofdev)
 {
        int ret;
        const struct of_device_id *match;
index cf66cee3595661410740522e42ef8bcd9643083f..4f90ac5910af2b3f1fb442d7c416727f687d743d 100644 (file)
@@ -327,7 +327,7 @@ static struct miscdevice mpcore_wdt_miscdev = {
        .fops           = &mpcore_wdt_fops,
 };
 
-static int __devinit mpcore_wdt_probe(struct platform_device *pdev)
+static int mpcore_wdt_probe(struct platform_device *pdev)
 {
        struct mpcore_wdt *wdt;
        struct resource *res;
index 5474a06ad607227c0ed87ea00b8aa51087e02cc3..8c642763ca6e72bd0a5703f48380fce69b5d54b1 100644 (file)
@@ -204,7 +204,7 @@ static struct miscdevice mtx1_wdt_misc = {
 };
 
 
-static int __devinit mtx1_wdt_probe(struct platform_device *pdev)
+static int mtx1_wdt_probe(struct platform_device *pdev)
 {
        int ret;
 
index 7d37da5522bb1196eef5bcadabc935a32585f93c..2876027a8886063f31e040086251a537e00d519f 100644 (file)
@@ -253,7 +253,7 @@ static struct miscdevice mv64x60_wdt_miscdev = {
        .fops = &mv64x60_wdt_fops,
 };
 
-static int __devinit mv64x60_wdt_probe(struct platform_device *dev)
+static int mv64x60_wdt_probe(struct platform_device *dev)
 {
        struct mv64x60_wdt_pdata *pdata = dev->dev.platform_data;
        struct resource *r;
index a77f6900917d2c410ada24f28c8d5f5fb451e4a5..d05daefa8640699cc48a608a2ab55a7417b9e7de 100644 (file)
@@ -242,7 +242,7 @@ static struct miscdevice nuc900wdt_miscdev = {
        .fops           = &nuc900wdt_fops,
 };
 
-static int __devinit nuc900wdt_probe(struct platform_device *pdev)
+static int nuc900wdt_probe(struct platform_device *pdev)
 {
        int ret = 0;
 
index e0d4496c2811d77becb988e55b95d6a500c94dda..45452845facab1a610ce0a643b571b774b134597 100644 (file)
@@ -302,7 +302,7 @@ MODULE_DEVICE_TABLE(pci, tco_pci_tbl);
  *     Init & exit routines
  */
 
-static unsigned char __devinit nv_tco_getdevice(void)
+static unsigned char nv_tco_getdevice(void)
 {
        struct pci_dev *dev = NULL;
        u32 val;
@@ -376,7 +376,7 @@ out:
        return 0;
 }
 
-static int __devinit nv_tco_init(struct platform_device *dev)
+static int nv_tco_init(struct platform_device *dev)
 {
        int ret;
 
index df8c5f3f3674f0c03aaae56e88b70c905a01e47b..fd3e5f6ee55c431d559941cf336e2a69cf91f2ae 100644 (file)
@@ -289,7 +289,7 @@ static struct miscdevice xwdt_miscdev = {
        .fops       = &xwdt_fops,
 };
 
-static int __devinit xwdt_probe(struct platform_device *pdev)
+static int xwdt_probe(struct platform_device *pdev)
 {
        int rc;
        u32 *tmptr;
index 1596a5da34636ffee3c386055871cd6d3fd4dbee..36a724614383d9ba5dc362fdf2f13bc547fc90ab 100644 (file)
@@ -264,7 +264,7 @@ static const struct file_operations omap_wdt_fops = {
        .llseek = no_llseek,
 };
 
-static int __devinit omap_wdt_probe(struct platform_device *pdev)
+static int omap_wdt_probe(struct platform_device *pdev)
 {
        struct resource *res, *mem;
        struct omap_wdt_dev *wdev;
index 33a0872ab47078ab1e068fd738ee46fdcb48341f..e6b7bd2117c63f4bddc4b8ded4e2a14b1028d281 100644 (file)
@@ -142,7 +142,7 @@ static struct watchdog_device orion_wdt = {
        .ops = &orion_wdt_ops,
 };
 
-static int __devinit orion_wdt_probe(struct platform_device *pdev)
+static int orion_wdt_probe(struct platform_device *pdev)
 {
        struct resource *res;
        int ret;
index df454c9b52749d3858b18df86eef4aca423c3fee..cef246abdd6630006d3997dc33354f21563a2cbb 100644 (file)
@@ -801,7 +801,7 @@ static inline int get_revision(void)
  *  The initial rate is once per second at board start up, then twice
  *  per second for normal operation.
  */
-static int __devinit pcwd_isa_match(struct device *dev, unsigned int id)
+static int pcwd_isa_match(struct device *dev, unsigned int id)
 {
        int base_addr = pcwd_ioports[id];
        int port0, last_port0;  /* Reg 0, in case it's REV A */
@@ -846,7 +846,7 @@ static int __devinit pcwd_isa_match(struct device *dev, unsigned int id)
        return retval;
 }
 
-static int __devinit pcwd_isa_probe(struct device *dev, unsigned int id)
+static int pcwd_isa_probe(struct device *dev, unsigned int id)
 {
        int ret;
 
index 1407a6fd077ba9c23534f27fb48d0db3f2aa059b..6ec84b5bb5081c90ef9db518a8c41c734173e59e 100644 (file)
@@ -682,7 +682,7 @@ static struct notifier_block pcipcwd_notifier = {
  *     Init & exit routines
  */
 
-static int __devinit pcipcwd_card_init(struct pci_dev *pdev,
+static int pcipcwd_card_init(struct pci_dev *pdev,
                const struct pci_device_id *ent)
 {
        int ret = -EIO;
index 5c07fa47b8ce8c29598052f613f45f44b1301ea7..4f7afeab6698340e67323b023b0f437de3f59ca7 100644 (file)
@@ -146,7 +146,7 @@ static struct watchdog_device pnx4008_wdd = {
        .max_timeout = MAX_HEARTBEAT,
 };
 
-static int __devinit pnx4008_wdt_probe(struct platform_device *pdev)
+static int pnx4008_wdt_probe(struct platform_device *pdev)
 {
        struct resource *r;
        int ret = 0;
index cf983d3a32fefe34149bfa72630aeac91f9100e9..22662808c37d39443f1dabf629bd9fc8ada952f3 100644 (file)
@@ -260,7 +260,7 @@ static struct miscdevice rc32434_wdt_miscdev = {
        .fops   = &rc32434_wdt_fops,
 };
 
-static int __devinit rc32434_wdt_probe(struct platform_device *pdev)
+static int rc32434_wdt_probe(struct platform_device *pdev)
 {
        int ret;
        struct resource *r;
index 27682148c99e158c6b9c1b8f68e5f9dbf2287f7c..94667064c8cfeaed06c4dd0ac600015a9a3ddd7e 100644 (file)
@@ -225,7 +225,7 @@ static struct miscdevice rdc321x_wdt_misc = {
        .fops   = &rdc321x_wdt_fops,
 };
 
-static int __devinit rdc321x_wdt_probe(struct platform_device *pdev)
+static int rdc321x_wdt_probe(struct platform_device *pdev)
 {
        int err;
        struct resource *r;
index 65851f4553c489bfd5b684b6cd4e04d63c3aeff5..84f523338ff475ad75fd98e370e209b83faab4ea 100644 (file)
@@ -174,7 +174,7 @@ static struct miscdevice riowd_miscdev = {
        .fops   = &riowd_fops
 };
 
-static int __devinit riowd_probe(struct platform_device *op)
+static int riowd_probe(struct platform_device *op)
 {
        struct riowd *p;
        int err = -EINVAL;
index c31742096932705722b8758d600382eec7577a1f..2e28c145081c115ad50ed7a16a55b306ea8360b6 100644 (file)
@@ -303,7 +303,7 @@ static inline void s3c2410wdt_cpufreq_deregister(void)
 }
 #endif
 
-static int __devinit s3c2410wdt_probe(struct platform_device *pdev)
+static int s3c2410wdt_probe(struct platform_device *pdev)
 {
        struct device *dev;
        unsigned int wtcon;
index 766b132e8c6eaed7e8b7d30408e0923a6205605a..8ecec29197977ab6b7eceb1e236a2901932d1f9e 100644 (file)
@@ -356,7 +356,7 @@ static struct miscdevice sch311x_wdt_miscdev = {
  *     Init & exit routines
  */
 
-static int __devinit sch311x_wdt_probe(struct platform_device *pdev)
+static int sch311x_wdt_probe(struct platform_device *pdev)
 {
        struct device *dev = &pdev->dev;
        int err;
index ce1be6eca6403a18641dc8596f379336208a124d..9c57af943b87e250fad13815130fb8f24261a4c1 100644 (file)
@@ -217,7 +217,7 @@ static struct watchdog_device sh_wdt_dev = {
        .ops    = &sh_wdt_ops,
 };
 
-static int __devinit sh_wdt_probe(struct platform_device *pdev)
+static int sh_wdt_probe(struct platform_device *pdev)
 {
        struct sh_wdt *wdt;
        struct resource *res;
index 066901bdc4d52d41809f46115a0b6fa42bd7dcbd..7ee39a79ff1e7df381fff77a5229048a85687d3c 100644 (file)
@@ -271,7 +271,7 @@ MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl);
  * Init & exit routines
  */
 
-static unsigned char __devinit sp5100_tco_setupdevice(void)
+static unsigned char sp5100_tco_setupdevice(void)
 {
        struct pci_dev *dev = NULL;
        u32 val;
@@ -361,7 +361,7 @@ exit:
        return 0;
 }
 
-static int __devinit sp5100_tco_init(struct platform_device *dev)
+static int sp5100_tco_init(struct platform_device *dev)
 {
        int ret;
        u32 val;
index f1c1e889e4192345aac285d8cdea18985e88bf30..32a5419657d229570b0795b32584889531e7eeff 100644 (file)
@@ -210,7 +210,7 @@ static const struct watchdog_ops wdt_ops = {
        .get_timeleft   = wdt_timeleft,
 };
 
-static int __devinit
+static int
 sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id)
 {
        struct sp805_wdt *wdt;
index 4226250eb6e47cda2e01f95416bec35d46a38bd3..254cce38cc03576de3004f1df9544b4239d31023 100644 (file)
@@ -204,7 +204,7 @@ static struct miscdevice stmp3xxx_wdt_miscdev = {
        .fops = &stmp3xxx_wdt_fops,
 };
 
-static int __devinit stmp3xxx_wdt_probe(struct platform_device *pdev)
+static int stmp3xxx_wdt_probe(struct platform_device *pdev)
 {
        int ret = 0;
 
index 2acc1fe7f54de04632da2e57bdde4aba3f1032b8..d6e94b4c67f6daee90b5e447f545bf60a5516608 100644 (file)
@@ -390,7 +390,7 @@ static struct miscdevice ts72xx_wdt_miscdev = {
        .fops           = &ts72xx_wdt_fops,
 };
 
-static __devinit int ts72xx_wdt_probe(struct platform_device *pdev)
+static int ts72xx_wdt_probe(struct platform_device *pdev)
 {
        struct ts72xx_wdt *wdt;
        struct resource *r1, *r2;
index cf59a38478e0ef8bc4e4b451d485229b3a01083d..6dab509caf9457b15c137c406f4d5600e7b64998 100644 (file)
@@ -170,7 +170,7 @@ static const struct file_operations twl4030_wdt_fops = {
        .write          = twl4030_wdt_write_fop,
 };
 
-static int __devinit twl4030_wdt_probe(struct platform_device *pdev)
+static int twl4030_wdt_probe(struct platform_device *pdev)
 {
        int ret = 0;
        struct twl4030_wdt *wdt;
index a9af1ddae1bac9335a1f0a83a6633138dc48a1de..098dfab82b6c79b2c671f985b8164dbd7ffb265e 100644 (file)
@@ -155,7 +155,7 @@ static struct watchdog_device wdt_dev = {
        .max_timeout =  WDT_TIMEOUT_MAX,
 };
 
-static int __devinit wdt_probe(struct pci_dev *pdev,
+static int wdt_probe(struct pci_dev *pdev,
                               const struct pci_device_id *ent)
 {
        unsigned char conf;
index 05c14e4740c175ac8bce1f6f15d35e98d8efa986..13d27c878db4f0547ae5b67bb9791447fa469ae9 100644 (file)
@@ -605,7 +605,7 @@ static struct notifier_block wdtpci_notifier = {
 };
 
 
-static int __devinit wdtpci_init_one(struct pci_dev *dev,
+static int wdtpci_init_one(struct pci_dev *dev,
                                        const struct pci_device_id *ent)
 {
        int ret = -EIO;
index f9c54feb8f1a8aed5d36649d6bca7411ea1fbf33..170c82e9745491560c52e69934382c88915fa6c0 100644 (file)
@@ -181,7 +181,7 @@ static const struct watchdog_ops wm831x_wdt_ops = {
        .set_timeout = wm831x_wdt_set_timeout,
 };
 
-static int __devinit wm831x_wdt_probe(struct platform_device *pdev)
+static int wm831x_wdt_probe(struct platform_device *pdev)
 {
        struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
        struct wm831x_pdata *chip_pdata;
index 770b6da1ff418a7690b534efa137335d019ffdd3..4530fa00b78d1c851f63037a0694495a061049de 100644 (file)
@@ -140,7 +140,7 @@ static struct watchdog_device wm8350_wdt = {
        .max_timeout = 4,
 };
 
-static int __devinit wm8350_wdt_probe(struct platform_device *pdev)
+static int wm8350_wdt_probe(struct platform_device *pdev)
 {
        struct wm8350 *wm8350 = platform_get_drvdata(pdev);
 
index 99b956fa4ebd329feb5b2f9b01a7b58f0ab109ed..1eb6bdc020ac816abae83509eb2f746caa929ece 100644 (file)
@@ -244,7 +244,7 @@ static struct miscdevice xen_wdt_miscdev = {
        .fops =         &xen_wdt_fops,
 };
 
-static int __devinit xen_wdt_probe(struct platform_device *dev)
+static int xen_wdt_probe(struct platform_device *dev)
 {
        struct sched_watchdog wd = { .id = ~0 };
        int ret = HYPERVISOR_sched_op(SCHEDOP_watchdog, &wd);