i2c: remove CONFIG_HOTPLUG ifdefs
Subsystems (384)
PATCH 207/493 i2c: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/i2c/busses/i2c-ali1535.c | 4 ++-- drivers/i2c/busses/i2c-ali1563.c | 4 ++-- drivers/i2c/busses/i2c-ali15x3.c | 4 ++-- drivers/i2c/busses/i2c-amd756.c | 2 +- drivers/i2c/busses/i2c-amd8111.c | 2 +- drivers/i2c/busses/i2c-at91.c | 6 +++--- drivers/i2c/busses/i2c-au1550.c | 2 +- drivers/i2c/busses/i2c-cpm.c | 4 ++-- drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +- drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- drivers/i2c/busses/i2c-eg20t.c | 2 +- drivers/i2c/busses/i2c-elektor.c | 4 ++-- drivers/i2c/busses/i2c-gpio.c | 4 ++-- drivers/i2c/busses/i2c-highlander.c | 2 +- drivers/i2c/busses/i2c-hydra.c | 2 +- drivers/i2c/busses/i2c-i801.c | 14 +++++++------- drivers/i2c/busses/i2c-ibm_iic.c | 4 ++-- drivers/i2c/busses/i2c-intel-mid.c | 2 +- drivers/i2c/busses/i2c-isch.c | 2 +- drivers/i2c/busses/i2c-mpc.c | 20 ++++++++++---------- drivers/i2c/busses/i2c-mv64xxx.c | 12 ++++++------ drivers/i2c/busses/i2c-mxs.c | 2 +- drivers/i2c/busses/i2c-nforce2.c | 4 ++-- drivers/i2c/busses/i2c-nuc900.c | 2 +- drivers/i2c/busses/i2c-ocores.c | 2 +- drivers/i2c/busses/i2c-octeon.c | 6 +++--- drivers/i2c/busses/i2c-omap.c | 2 +- drivers/i2c/busses/i2c-parport-light.c | 2 +- drivers/i2c/busses/i2c-pasemi.c | 2 +- drivers/i2c/busses/i2c-pca-isa.c | 4 ++-- drivers/i2c/busses/i2c-pca-platform.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 10 +++++----- drivers/i2c/busses/i2c-pmcmsp.c | 2 +- drivers/i2c/busses/i2c-pnx.c | 2 +- drivers/i2c/busses/i2c-powermac.c | 12 ++++++------ drivers/i2c/busses/i2c-puv3.c | 2 +- drivers/i2c/busses/i2c-pxa-pci.c | 2 +- drivers/i2c/busses/i2c-rcar.c | 2 +- drivers/i2c/busses/i2c-s6000.c | 4 ++-- drivers/i2c/busses/i2c-sh7760.c | 4 ++-- drivers/i2c/busses/i2c-sirf.c | 2 +- drivers/i2c/busses/i2c-sis5595.c | 4 ++-- drivers/i2c/busses/i2c-sis630.c | 4 ++-- drivers/i2c/busses/i2c-sis96x.c | 2 +- drivers/i2c/busses/i2c-tegra.c | 2 +- drivers/i2c/busses/i2c-via.c | 2 +- drivers/i2c/busses/i2c-viapro.c | 2 +- drivers/i2c/busses/i2c-xiic.c | 2 +- drivers/i2c/busses/i2c-xlr.c | 2 +- drivers/i2c/busses/scx200_acb.c | 10 +++++----- drivers/i2c/muxes/i2c-mux-gpio.c | 4 ++-- drivers/i2c/muxes/i2c-mux-pinctrl.c | 2 +- 52 files changed, 103 insertions(+), 103 deletions(-)
drivers/i2c/busses/i2c-ali1535.c +2 -2
@@ -139,7 +139,7 @@ static unsigned short ali1535_offset;Note the differences between kernels with the old PCI BIOS interface and newer kernels with the real PCI interface. In compat.h some things are defined to make the transition easier. */ -static int __devinit ali1535_setup (struct pci_dev *dev) +static int ali1535_setup (struct pci_dev *dev) {int retval;unsigned char temp;
@@ -502,7 +502,7 @@ static DEFINE_PCI_DEVICE_TABLE(ali1535_ids) = {MODULE_DEVICE_TABLE (pci, ali1535_ids); -static int __devinit ali1535_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int ali1535_probe (struct pci_dev *dev,const struct pci_device_id *id) {if (ali1535_setup (dev)) { dev_warn(&dev->dev,
drivers/i2c/busses/i2c-ali1563.c +2 -2
@@ -326,7 +326,7 @@ static u32 ali1563_func(struct i2c_adapter * a) } -static int __devinit ali1563_setup (struct pci_dev * dev) +static int ali1563_setup (struct pci_dev * dev) {u16 ctrl;
@@ -390,7 +390,7 @@ static struct i2c_adapter ali1563_adapter = { .algo = &ali1563_algorithm, }; -static int __devinit ali1563_probe (struct pci_dev * dev, +static int ali1563_probe (struct pci_dev * dev,const struct pci_device_id * id_table) {int error;
drivers/i2c/busses/i2c-ali15x3.c +2 -2
@@ -131,7 +131,7 @@ MODULE_PARM_DESC(force_addr,static struct pci_driver ali15x3_driver;static unsigned short ali15x3_smba; -static int __devinit ali15x3_setup (struct pci_dev *ALI15X3_dev) +static int ali15x3_setup (struct pci_dev *ALI15X3_dev) {u16 a;unsigned char temp;
@@ -484,7 +484,7 @@ static DEFINE_PCI_DEVICE_TABLE(ali15x3_ids) = {MODULE_DEVICE_TABLE (pci, ali15x3_ids); -static int __devinit ali15x3_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int ali15x3_probe (struct pci_dev *dev,const struct pci_device_id *id) {if (ali15x3_setup (dev)) { dev_err(&dev->dev,
drivers/i2c/busses/i2c-amd756.c +1 -1
@@ -324,7 +324,7 @@ static DEFINE_PCI_DEVICE_TABLE(amd756_ids) = {MODULE_DEVICE_TABLE (pci, amd756_ids); -static int __devinit amd756_probe (struct pci_dev *pdev, +static int amd756_probe (struct pci_dev *pdev,const struct pci_device_id *id) {int nforce = (id->driver_data ==NFORCE );
drivers/i2c/busses/i2c-amd8111.c +1 -1
@@ -422,7 +422,7 @@ static DEFINE_PCI_DEVICE_TABLE(amd8111_ids) = {MODULE_DEVICE_TABLE (pci, amd8111_ids); -static int __devinit amd8111_probe (struct pci_dev *dev, +static int amd8111_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct amd_smbus *smbus;
drivers/i2c/busses/i2c-at91.c +3 -3
@@ -115,7 +115,7 @@ static void at91_init_twi_bus(struct at91_twi_dev *dev)* Calculate symmetric clock as stated in datasheet: * twi_clk = F_MAIN / (2 * (cdiv * (1 << ckdiv) + offset)) */ -static void __devinit at91_calc_twi_clock (struct at91_twi_dev *dev,int twi_clk) +static void at91_calc_twi_clock (struct at91_twi_dev *dev,int twi_clk) {int ckdiv, cdiv, div;struct at91_twi_pdata *pdata = dev->pdata;
@@ -405,7 +405,7 @@ MODULE_DEVICE_TABLE(of, atmel_twi_dt_ids);#define atmel_twi_dt_ids NULL#endif -static struct at91_twi_pdata *__devinit at91_twi_get_driver_data ( +static struct at91_twi_pdata *at91_twi_get_driver_data (struct platform_device *pdev) {if (pdev->dev.of_node) {
@@ -418,7 +418,7 @@ static struct at91_twi_pdata * __devinit at91_twi_get_driver_data(return (struct at91_twi_pdata *)platform_get_device_id (pdev)->driver_data; } -static int __devinit at91_twi_probe (struct platform_device *pdev) +static int at91_twi_probe (struct platform_device *pdev) {struct at91_twi_dev *dev;struct resource *mem;
drivers/i2c/busses/i2c-au1550.c +1 -1
@@ -313,7 +313,7 @@ static void i2c_au1550_disable(struct i2c_au1550_data *priv)* Prior to calling us, the 50MHz clock frequency and routing * must have been set up for the PSC indicated by the adapter. */ -static int __devinit +static int i2c_au1550_probe (struct platform_device *pdev) {struct i2c_au1550_data *priv;
drivers/i2c/busses/i2c-cpm.c +2 -2
@@ -426,7 +426,7 @@ static const struct i2c_adapter cpm_ops = { .algo = &cpm_i2c_algo, }; -static int __devinit cpm_i2c_setup (struct cpm_i2c *cpm) +static int cpm_i2c_setup (struct cpm_i2c *cpm) {struct platform_device *ofdev = cpm->ofdev;const u32 *data;
@@ -634,7 +634,7 @@ static void cpm_i2c_shutdown(struct cpm_i2c *cpm)cpm_muram_free (cpm->i2c_addr); } -static int __devinit cpm_i2c_probe (struct platform_device *ofdev) +static int cpm_i2c_probe (struct platform_device *ofdev) {int result, len;struct cpm_i2c *cpm;
drivers/i2c/busses/i2c-designware-pcidrv.c +1 -1
@@ -207,7 +207,7 @@ static u32 i2c_dw_get_clk_rate_khz(struct dw_i2c_dev *dev)return dev->controller->clk_khz; } -static int __devinit i2c_dw_pci_probe (struct pci_dev *pdev, +static int i2c_dw_pci_probe (struct pci_dev *pdev,const struct pci_device_id *id) {struct dw_i2c_dev *dev;
drivers/i2c/busses/i2c-designware-platdrv.c +1 -1
@@ -50,7 +50,7 @@ static u32 i2c_dw_get_clk_rate_khz(struct dw_i2c_dev *dev)return clk_get_rate (dev->clk)/1000 ; } -static int __devinit dw_i2c_probe (struct platform_device *pdev) +static int dw_i2c_probe (struct platform_device *pdev) {struct dw_i2c_dev *dev;struct i2c_adapter *adap;
drivers/i2c/busses/i2c-eg20t.c +1 -1
@@ -758,7 +758,7 @@ static void pch_i2c_disbl_int(struct i2c_algo_pch_data *adap)iowrite32 (BUFFER_MODE_INTR_DISBL , p +PCH_I2CBUFMSK ); } -static int __devinit pch_i2c_probe (struct pci_dev *pdev, +static int pch_i2c_probe (struct pci_dev *pdev,const struct pci_device_id *id) {void __iomem *base_addr;
drivers/i2c/busses/i2c-elektor.c +2 -2
@@ -205,7 +205,7 @@ static struct i2c_adapter pcf_isa_ops = { .name = "i2c-elektor", }; -static int __devinit elektor_match (struct device *dev,unsigned int id) +static int elektor_match (struct device *dev,unsigned int id) {#ifdef __alpha__/* check to see we have memory mapped PCF8584 connected to the
@@ -264,7 +264,7 @@ static int __devinit elektor_match(struct device *dev, unsigned int id)return 1 ; } -static int __devinit elektor_probe (struct device *dev,unsigned int id) +static int elektor_probe (struct device *dev,unsigned int id) {init_waitqueue_head (&pcf_wait);if (pcf_isa_init ())
drivers/i2c/busses/i2c-gpio.c +2 -2
@@ -85,7 +85,7 @@ static int i2c_gpio_getscl(void *data)return gpio_get_value (pdata->scl_pin); } -static int __devinit of_i2c_gpio_probe (struct device_node *np, +static int of_i2c_gpio_probe (struct device_node *np,struct i2c_gpio_platform_data *pdata) {u32 reg;
@@ -117,7 +117,7 @@ static int __devinit of_i2c_gpio_probe(struct device_node *np,return 0 ; } -static int __devinit i2c_gpio_probe (struct platform_device *pdev) +static int i2c_gpio_probe (struct platform_device *pdev) {struct i2c_gpio_private_data *priv;struct i2c_gpio_platform_data *pdata;
drivers/i2c/busses/i2c-highlander.c +1 -1
@@ -356,7 +356,7 @@ static const struct i2c_algorithm highlander_i2c_algo = { .functionality = highlander_i2c_func, }; -static int __devinit highlander_i2c_probe (struct platform_device *pdev) +static int highlander_i2c_probe (struct platform_device *pdev) {struct highlander_i2c_dev *dev;struct i2c_adapter *adap;
drivers/i2c/busses/i2c-hydra.c +1 -1
@@ -112,7 +112,7 @@ static DEFINE_PCI_DEVICE_TABLE(hydra_ids) = {MODULE_DEVICE_TABLE (pci, hydra_ids); -static int __devinit hydra_probe (struct pci_dev *dev, +static int hydra_probe (struct pci_dev *dev,const struct pci_device_id *id) {unsigned long base =pci_resource_start (dev,0 );
drivers/i2c/busses/i2c-i801.c +7 -7
@@ -847,7 +847,7 @@ static struct dmi_onboard_device_info __devinitdata dmi_devices[] = { { "Hades", DMI_DEV_TYPE_OTHER, 0x73, "fschds" }, }; -static void __devinit dmi_check_onboard_device (u8 type,const char *name, +static void dmi_check_onboard_device (u8 type,const char *name,struct i2c_adapter *adap) {int i;
@@ -871,7 +871,7 @@ static void __devinit dmi_check_onboard_device(u8 type, const char *name,/* We use our own function to check for onboard devices instead of dmi_find_device() as some buggy BIOS's have the devices we are interested in marked as disabled */ -static void __devinit dmi_check_onboard_devices (const struct dmi_header *dm, +static void dmi_check_onboard_devices (const struct dmi_header *dm,void *adap) {int i, count;
@@ -901,7 +901,7 @@ static void __devinit dmi_check_onboard_devices(const struct dmi_header *dm, }/* Register optional slaves */ -static void __devinit i801_probe_optional_slaves (struct i801_priv *priv) +static void i801_probe_optional_slaves (struct i801_priv *priv) {/* Only register slaves on main SMBus channel */ if (priv->features &FEATURE_IDF )
@@ -921,7 +921,7 @@ static void __devinit i801_probe_optional_slaves(struct i801_priv *priv) }#else static void __init input_apanel_init (void ) {} -static void __devinit i801_probe_optional_slaves (struct i801_priv *priv) {} +static void i801_probe_optional_slaves (struct i801_priv *priv) {}#endif /* CONFIG_X86 && CONFIG_DMI */ #if (defined CONFIG_I2C_MUX_GPIO || defined CONFIG_I2C_MUX_GPIO_MODULE) && \
@@ -1012,7 +1012,7 @@ static struct dmi_system_id __devinitdata mux_dmi_table[] = { };/* Setup multiplexing if needed */ -static int __devinit i801_add_mux (struct i801_priv *priv) +static int i801_add_mux (struct i801_priv *priv) {struct device *dev = &priv->adapter.dev;const struct i801_mux_config *mux_config;
@@ -1054,7 +1054,7 @@ static void __devexit i801_del_mux(struct i801_priv *priv)platform_device_unregister (priv->mux_pdev); } -static unsigned int __devinit i801_get_adapter_class (struct i801_priv *priv) +static unsigned int i801_get_adapter_class (struct i801_priv *priv) {const struct dmi_system_id *id;const struct i801_mux_config *mux_config;
@@ -1084,7 +1084,7 @@ static inline unsigned int i801_get_adapter_class(struct i801_priv *priv) }#endif -static int __devinit i801_probe (struct pci_dev *dev, +static int i801_probe (struct pci_dev *dev,const struct pci_device_id *id) {unsigned char temp;
drivers/i2c/busses/i2c-ibm_iic.c +2 -2
@@ -660,7 +660,7 @@ static inline u8 iic_clckdiv(unsigned int opb)return (u8)((opb +9 ) /10 -1 ); } -static int __devinit iic_request_irq (struct platform_device *ofdev, +static int iic_request_irq (struct platform_device *ofdev,struct ibm_iic_private *dev) {struct device_node *np = ofdev->dev.of_node;
@@ -691,7 +691,7 @@ static int __devinit iic_request_irq(struct platform_device *ofdev,/* * Register single IIC interface */ -static int __devinit iic_probe (struct platform_device *ofdev) +static int iic_probe (struct platform_device *ofdev) {struct device_node *np = ofdev->dev.of_node;struct ibm_iic_private *dev;
drivers/i2c/busses/i2c-intel-mid.c +1 -1
@@ -947,7 +947,7 @@ static const struct dev_pm_ops intel_mid_i2c_pm_ops = {* 5. Call intel_mid_i2c_hwinit() for hardware initialization * 6. Register I2C adapter in i2c-core */ -static int __devinit intel_mid_i2c_probe (struct pci_dev *dev, +static int intel_mid_i2c_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct intel_mid_i2c_private *mrst;
drivers/i2c/busses/i2c-isch.c +1 -1
@@ -249,7 +249,7 @@ static struct i2c_adapter sch_adapter = { .algo = &smbus_algorithm, }; -static int __devinit smbus_sch_probe (struct platform_device *dev) +static int smbus_sch_probe (struct platform_device *dev) {struct resource *res;int retval;
drivers/i2c/busses/i2c-mpc.c +10 -10
@@ -196,7 +196,7 @@ static const struct mpc_i2c_divider mpc_i2c_dividers_52xx[] __devinitconst = { {10240, 0x9d}, {12288, 0x9e}, {15360, 0x9f} }; -static int __devinit mpc_i2c_get_fdr_52xx (struct device_node *node,u32 clock, +static int mpc_i2c_get_fdr_52xx (struct device_node *node,u32 clock,int prescaler,u32 *real_clk) {const struct mpc_i2c_divider *div =NULL ;
@@ -230,7 +230,7 @@ static int __devinit mpc_i2c_get_fdr_52xx(struct device_node *node, u32 clock,return (int )div->fdr; } -static void __devinit mpc_i2c_setup_52xx (struct device_node *node, +static void mpc_i2c_setup_52xx (struct device_node *node,struct mpc_i2c *i2c,u32 clock,u32 prescaler) {
@@ -252,7 +252,7 @@ static void __devinit mpc_i2c_setup_52xx(struct device_node *node, fdr); }#else /* !(CONFIG_PPC_MPC52xx || CONFIG_PPC_MPC512x) */ -static void __devinit mpc_i2c_setup_52xx (struct device_node *node, +static void mpc_i2c_setup_52xx (struct device_node *node,struct mpc_i2c *i2c,u32 clock,u32 prescaler) {
@@ -260,7 +260,7 @@ static void __devinit mpc_i2c_setup_52xx(struct device_node *node,#endif /* CONFIG_PPC_MPC52xx || CONFIG_PPC_MPC512x */ #ifdef CONFIG_PPC_MPC512x -static void __devinit mpc_i2c_setup_512x (struct device_node *node, +static void mpc_i2c_setup_512x (struct device_node *node,struct mpc_i2c *i2c,u32 clock,u32 prescaler) {
@@ -288,7 +288,7 @@ static void __devinit mpc_i2c_setup_512x(struct device_node *node, mpc_i2c_setup_52xx(node, i2c, clock, prescaler); }#else /* CONFIG_PPC_MPC512x */ -static void __devinit mpc_i2c_setup_512x (struct device_node *node, +static void mpc_i2c_setup_512x (struct device_node *node,struct mpc_i2c *i2c,u32 clock,u32 prescaler) {
@@ -316,7 +316,7 @@ static const struct mpc_i2c_divider mpc_i2c_dividers_8xxx[] __devinitconst = { {49152, 0x011e}, {61440, 0x011f} }; -static u32 __devinit mpc_i2c_get_sec_cfg_8xxx (void ) +static u32 mpc_i2c_get_sec_cfg_8xxx (void ) {struct device_node *node =NULL ;u32 __iomem *reg;
@@ -345,7 +345,7 @@ static u32 __devinit mpc_i2c_get_sec_cfg_8xxx(void)return val; } -static int __devinit mpc_i2c_get_fdr_8xxx (struct device_node *node,u32 clock, +static int mpc_i2c_get_fdr_8xxx (struct device_node *node,u32 clock,u32 prescaler,u32 *real_clk) {const struct mpc_i2c_divider *div =NULL ;
@@ -383,7 +383,7 @@ static int __devinit mpc_i2c_get_fdr_8xxx(struct device_node *node, u32 clock,return div ? (int )div->fdr : -EINVAL ; } -static void __devinit mpc_i2c_setup_8xxx (struct device_node *node, +static void mpc_i2c_setup_8xxx (struct device_node *node,struct mpc_i2c *i2c,u32 clock,u32 prescaler) {
@@ -408,7 +408,7 @@ static void __devinit mpc_i2c_setup_8xxx(struct device_node *node, }#else /* !CONFIG_FSL_SOC */ -static void __devinit mpc_i2c_setup_8xxx (struct device_node *node, +static void mpc_i2c_setup_8xxx (struct device_node *node,struct mpc_i2c *i2c,u32 clock,u32 prescaler) {
@@ -615,7 +615,7 @@ static struct i2c_adapter mpc_ops = { };static const struct of_device_id mpc_i2c_of_match[]; -static int __devinit fsl_i2c_probe (struct platform_device *op) +static int fsl_i2c_probe (struct platform_device *op) {const struct of_device_id *match;struct mpc_i2c *i2c;
drivers/i2c/busses/i2c-mv64xxx.c +6 -6
@@ -495,7 +495,7 @@ static const struct i2c_algorithm mv64xxx_i2c_algo = {* ***************************************************************************** */ -static int __devinit +static int mv64xxx_i2c_map_regs (struct platform_device *pd,struct mv64xxx_i2c_data *drv_data) {
@@ -530,13 +530,13 @@ mv64xxx_i2c_unmap_regs(struct mv64xxx_i2c_data *drv_data) }#ifdef CONFIG_OF -static int __devinit +static int mv64xxx_calc_freq (const int tclk,const int n,const int m) {return tclk / (10 * (m +1 ) * (2 << n)); } -static bool __devinit +static bool mv64xxx_find_baud_factors (const u32 req_freq,const u32 tclk,u32 *best_n,u32 *best_m) {
@@ -560,7 +560,7 @@ mv64xxx_find_baud_factors(const u32 req_freq, const u32 tclk, u32 *best_n,return true; } -static int __devinit +static int mv64xxx_of_config (struct mv64xxx_i2c_data *drv_data,struct device_node *np) {
@@ -597,7 +597,7 @@ out:#endif }#else /* CONFIG_OF */ -static int __devinit +static int mv64xxx_of_config (struct mv64xxx_i2c_data *drv_data,struct device_node *np) {
@@ -605,7 +605,7 @@ mv64xxx_of_config(struct mv64xxx_i2c_data *drv_data, }#endif /* CONFIG_OF */ -static int __devinit +static int mv64xxx_i2c_probe (struct platform_device *pd) {struct mv64xxx_i2c_data *drv_data;
drivers/i2c/busses/i2c-mxs.c +1 -1
@@ -430,7 +430,7 @@ static int mxs_i2c_get_ofdata(struct mxs_i2c_dev *i2c)return 0 ; } -static int __devinit mxs_i2c_probe (struct platform_device *pdev) +static int mxs_i2c_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct mxs_i2c_dev *i2c;
drivers/i2c/busses/i2c-nforce2.c +2 -2
@@ -330,7 +330,7 @@ static DEFINE_PCI_DEVICE_TABLE(nforce2_ids) = {MODULE_DEVICE_TABLE (pci, nforce2_ids); -static int __devinit nforce2_probe_smb (struct pci_dev *dev,int bar, +static int nforce2_probe_smb (struct pci_dev *dev,int bar,int alt_reg,struct nforce2_smbus *smbus,const char *name) {int error;
@@ -382,7 +382,7 @@ static int __devinit nforce2_probe_smb (struct pci_dev *dev, int bar, } -static int __devinit nforce2_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int nforce2_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct nforce2_smbus *smbuses;int res1, res2;
drivers/i2c/busses/i2c-nuc900.c +1 -1
@@ -518,7 +518,7 @@ static const struct i2c_algorithm nuc900_i2c_algorithm = {* called by the bus driver when a suitable device is found */ -static int __devinit nuc900_i2c_probe (struct platform_device *pdev) +static int nuc900_i2c_probe (struct platform_device *pdev) {struct nuc900_i2c *i2c;struct nuc900_platform_i2c *pdata;
drivers/i2c/busses/i2c-ocores.c +1 -1
@@ -263,7 +263,7 @@ static int ocores_i2c_of_probe(struct platform_device *pdev,#define ocores_i2c_of_probe (pdev,i2c) -ENODEV#endif -static int __devinit ocores_i2c_probe (struct platform_device *pdev) +static int ocores_i2c_probe (struct platform_device *pdev) {struct ocores_i2c *i2c;struct ocores_i2c_platform_data *pdata;
drivers/i2c/busses/i2c-octeon.c +3 -3
@@ -446,7 +446,7 @@ static struct i2c_adapter octeon_i2c_ops = {/** * octeon_i2c_setclock - Calculate and set clock divisors. */ -static int __devinit octeon_i2c_setclock (struct octeon_i2c *i2c) +static int octeon_i2c_setclock (struct octeon_i2c *i2c) {int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff;int thp =0x18 , mdiv =2 , ndiv =0 , delta_hz =1000000 ;
@@ -489,7 +489,7 @@ static int __devinit octeon_i2c_setclock(struct octeon_i2c *i2c)return 0 ; } -static int __devinit octeon_i2c_initlowlevel (struct octeon_i2c *i2c) +static int octeon_i2c_initlowlevel (struct octeon_i2c *i2c) {u8 status;int tries;
@@ -510,7 +510,7 @@ static int __devinit octeon_i2c_initlowlevel(struct octeon_i2c *i2c)return -EIO ; } -static int __devinit octeon_i2c_probe (struct platform_device *pdev) +static int octeon_i2c_probe (struct platform_device *pdev) {int irq, result =0 ;struct octeon_i2c *i2c;
drivers/i2c/busses/i2c-omap.c +1 -1
@@ -1069,7 +1069,7 @@ MODULE_DEVICE_TABLE(of, omap_i2c_of_match);#define OMAP_I2C_SCHEME_0 0#define OMAP_I2C_SCHEME_1 1 -static int __devinit +static int omap_i2c_probe (struct platform_device *pdev) {struct omap_i2c_dev *dev;
drivers/i2c/busses/i2c-parport-light.c +1 -1
@@ -135,7 +135,7 @@ static struct lineop parport_ctrl_irq = { .port = PORT_CTRL, }; -static int __devinit i2c_parport_probe (struct platform_device *pdev) +static int i2c_parport_probe (struct platform_device *pdev) {int err;
drivers/i2c/busses/i2c-pasemi.c +1 -1
@@ -340,7 +340,7 @@ static const struct i2c_algorithm smbus_algorithm = { .functionality = pasemi_smb_func, }; -static int __devinit pasemi_smb_probe (struct pci_dev *dev, +static int pasemi_smb_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct pasemi_smbus *smbus;
drivers/i2c/busses/i2c-pca-isa.c +2 -2
@@ -119,7 +119,7 @@ static struct i2c_adapter pca_isa_ops = { .timeout = HZ, }; -static int __devinit pca_isa_match (struct device *dev,unsigned int id) +static int pca_isa_match (struct device *dev,unsigned int id) {int match = base !=0 ;
@@ -132,7 +132,7 @@ static int __devinit pca_isa_match(struct device *dev, unsigned int id)return match; } -static int __devinit pca_isa_probe (struct device *dev,unsigned int id) +static int pca_isa_probe (struct device *dev,unsigned int id) {init_waitqueue_head (&pca_wait);
drivers/i2c/busses/i2c-pca-platform.c +1 -1
@@ -131,7 +131,7 @@ static irqreturn_t i2c_pca_pf_handler(int this_irq, void *dev_id) } -static int __devinit i2c_pca_pf_probe (struct platform_device *pdev) +static int i2c_pca_pf_probe (struct platform_device *pdev) {struct i2c_pca_pf_data *i2c;struct resource *res;
drivers/i2c/busses/i2c-piix4.c +5 -5
@@ -131,7 +131,7 @@ struct i2c_piix4_adapdata {unsigned short smba; }; -static int __devinit piix4_setup (struct pci_dev *PIIX4_dev, +static int piix4_setup (struct pci_dev *PIIX4_dev,const struct pci_device_id *id) {unsigned char temp;
@@ -230,7 +230,7 @@ static int __devinit piix4_setup(struct pci_dev *PIIX4_dev,return piix4_smba; } -static int __devinit piix4_setup_sb800 (struct pci_dev *PIIX4_dev, +static int piix4_setup_sb800 (struct pci_dev *PIIX4_dev,const struct pci_device_id *id) {unsigned short piix4_smba;
@@ -294,7 +294,7 @@ static int __devinit piix4_setup_sb800(struct pci_dev *PIIX4_dev,return piix4_smba; } -static int __devinit piix4_setup_aux (struct pci_dev *PIIX4_dev, +static int piix4_setup_aux (struct pci_dev *PIIX4_dev,const struct pci_device_id *id,unsigned short base_reg_addr) {
@@ -540,7 +540,7 @@ MODULE_DEVICE_TABLE (pci, piix4_ids);static struct i2c_adapter *piix4_main_adapter;static struct i2c_adapter *piix4_aux_adapter; -static int __devinit piix4_add_adapter (struct pci_dev *dev, +static int piix4_add_adapter (struct pci_dev *dev,unsigned short smba,struct i2c_adapter **padap) {
@@ -588,7 +588,7 @@ static int __devinit piix4_add_adapter(struct pci_dev *dev,return 0 ; } -static int __devinit piix4_probe (struct pci_dev *dev, +static int piix4_probe (struct pci_dev *dev,const struct pci_device_id *id) {int retval;
drivers/i2c/busses/i2c-pmcmsp.c +1 -1
@@ -270,7 +270,7 @@ static irqreturn_t pmcmsptwi_interrupt(int irq, void *ptr)/* * Probe for and register the device and return 0 if there is one. */ -static int __devinit pmcmsptwi_probe (struct platform_device *pldev) +static int pmcmsptwi_probe (struct platform_device *pldev) {struct resource *res;int rc = -ENODEV ;
drivers/i2c/busses/i2c-pnx.c +1 -1
@@ -619,7 +619,7 @@ static SIMPLE_DEV_PM_OPS(i2c_pnx_pm,#define PNX_I2C_PM NULL#endif -static int __devinit i2c_pnx_probe (struct platform_device *pdev) +static int i2c_pnx_probe (struct platform_device *pdev) {unsigned long tmp;int ret =0 ;
drivers/i2c/busses/i2c-powermac.c +6 -6
@@ -227,7 +227,7 @@ static int __devexit i2c_powermac_remove(struct platform_device *dev)return 0 ; } -static u32 __devinit i2c_powermac_get_addr (struct i2c_adapter *adap, +static u32 i2c_powermac_get_addr (struct i2c_adapter *adap,struct pmac_i2c_bus *bus,struct device_node *node) {
@@ -255,7 +255,7 @@ static u32 __devinit i2c_powermac_get_addr(struct i2c_adapter *adap,return 0xffffffff ; } -static void __devinit i2c_powermac_create_one (struct i2c_adapter *adap, +static void i2c_powermac_create_one (struct i2c_adapter *adap,const char *type,u32 addr) {
@@ -271,7 +271,7 @@ static void __devinit i2c_powermac_create_one(struct i2c_adapter *adap, type); } -static void __devinit i2c_powermac_add_missing (struct i2c_adapter *adap, +static void i2c_powermac_add_missing (struct i2c_adapter *adap,struct pmac_i2c_bus *bus,bool found_onyx) {
@@ -297,7 +297,7 @@ static void __devinit i2c_powermac_add_missing(struct i2c_adapter *adap, } } -static bool __devinit i2c_powermac_get_type (struct i2c_adapter *adap, +static bool i2c_powermac_get_type (struct i2c_adapter *adap,struct device_node *node,u32 addr,char *type,int type_size) {
@@ -336,7 +336,7 @@ static bool __devinit i2c_powermac_get_type(struct i2c_adapter *adap,return false; } -static void __devinit i2c_powermac_register_devices (struct i2c_adapter *adap, +static void i2c_powermac_register_devices (struct i2c_adapter *adap,struct pmac_i2c_bus *bus) {struct i2c_client *newdev;
@@ -403,7 +403,7 @@ static void __devinit i2c_powermac_register_devices(struct i2c_adapter *adap,i2c_powermac_add_missing (adap, bus, found_onyx); } -static int __devinit i2c_powermac_probe (struct platform_device *dev) +static int i2c_powermac_probe (struct platform_device *dev) {struct pmac_i2c_bus *bus = dev->dev.platform_data;struct device_node *parent =NULL ;
drivers/i2c/busses/i2c-puv3.c +1 -1
@@ -184,7 +184,7 @@ static struct i2c_algorithm puv3_i2c_algorithm = {/* * Main initialization routine. */ -static int __devinit puv3_i2c_probe (struct platform_device *pdev) +static int puv3_i2c_probe (struct platform_device *pdev) {struct i2c_adapter *adapter;struct resource *mem;
drivers/i2c/busses/i2c-pxa-pci.c +1 -1
@@ -94,7 +94,7 @@ out:return ERR_PTR (ret); } -static int __devinit ce4100_i2c_probe (struct pci_dev *dev, +static int ce4100_i2c_probe (struct pci_dev *dev,const struct pci_device_id *ent) {int ret;
drivers/i2c/busses/i2c-rcar.c +1 -1
@@ -613,7 +613,7 @@ static const struct i2c_algorithm rcar_i2c_algo = { .functionality = rcar_i2c_func, }; -static int __devinit rcar_i2c_probe (struct platform_device *pdev) +static int rcar_i2c_probe (struct platform_device *pdev) {struct i2c_rcar_platform_data *pdata = pdev->dev.platform_data;struct rcar_i2c_priv *priv;
drivers/i2c/busses/i2c-s6000.c +2 -2
@@ -248,7 +248,7 @@ static struct i2c_algorithm s6i2c_algorithm = { .functionality = s6i2c_functionality, }; -static u16 __devinit nanoseconds_on_clk (struct s6i2c_if *iface,u32 ns) +static u16 nanoseconds_on_clk (struct s6i2c_if *iface,u32 ns) {u32 dividend = ((clk_get_rate (iface->clk) /1000 ) * ns) /1000000 ;if (dividend >0xffff )
@@ -256,7 +256,7 @@ static u16 __devinit nanoseconds_on_clk(struct s6i2c_if *iface, u32 ns)return dividend; } -static int __devinit s6i2c_probe (struct platform_device *dev) +static int s6i2c_probe (struct platform_device *dev) {struct s6i2c_if *iface = &s6i2c_if;struct i2c_adapter *p_adap;
drivers/i2c/busses/i2c-sh7760.c +2 -2
@@ -390,7 +390,7 @@ static const struct i2c_algorithm sh7760_i2c_algo = {* iclk = mclk/(CDF + 1). iclk must be < 20MHz. * scl = iclk/(SCGD*8 + 20). */ -static int __devinit calc_CCR (unsigned long scl_hz) +static int calc_CCR (unsigned long scl_hz) {struct clk *mclk;unsigned long mck, m1, dff, odff, iclk;
@@ -430,7 +430,7 @@ static int __devinit calc_CCR(unsigned long scl_hz)return ((scgdm <<2 ) | cdfm); } -static int __devinit sh7760_i2c_probe (struct platform_device *pdev) +static int sh7760_i2c_probe (struct platform_device *pdev) {struct sh7760_i2c_platdata *pd;struct resource *res;
drivers/i2c/busses/i2c-sirf.c +1 -1
@@ -258,7 +258,7 @@ static const struct i2c_algorithm i2c_sirfsoc_algo = { .functionality = i2c_sirfsoc_func, }; -static int __devinit i2c_sirfsoc_probe (struct platform_device *pdev) +static int i2c_sirfsoc_probe (struct platform_device *pdev) {struct sirfsoc_i2c *siic;struct i2c_adapter *adap;
drivers/i2c/busses/i2c-sis5595.c +2 -2
@@ -142,7 +142,7 @@ static void sis5595_write(u8 reg, u8 data)outb (data, sis5595_base +SMB_DAT ); } -static int __devinit sis5595_setup (struct pci_dev *SIS5595_dev) +static int sis5595_setup (struct pci_dev *SIS5595_dev) {u16 a;u8 val;
@@ -376,7 +376,7 @@ static DEFINE_PCI_DEVICE_TABLE(sis5595_ids) = {MODULE_DEVICE_TABLE (pci, sis5595_ids); -static int __devinit sis5595_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int sis5595_probe (struct pci_dev *dev,const struct pci_device_id *id) {int err;
drivers/i2c/busses/i2c-sis630.c +2 -2
@@ -389,7 +389,7 @@ static u32 sis630_func(struct i2c_adapter *adapter)I2C_FUNC_SMBUS_BLOCK_DATA ; } -static int __devinit sis630_setup (struct pci_dev *sis630_dev) +static int sis630_setup (struct pci_dev *sis630_dev) {unsigned char b;struct pci_dev *dummy =NULL ;
@@ -480,7 +480,7 @@ static DEFINE_PCI_DEVICE_TABLE(sis630_ids) = {MODULE_DEVICE_TABLE (pci, sis630_ids); -static int __devinit sis630_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int sis630_probe (struct pci_dev *dev,const struct pci_device_id *id) {if (sis630_setup (dev)) {dev_err (&dev->dev,"SIS630 comp. bus not detected, module not inserted.\n" );
drivers/i2c/busses/i2c-sis96x.c +1 -1
@@ -252,7 +252,7 @@ static DEFINE_PCI_DEVICE_TABLE(sis96x_ids) = {MODULE_DEVICE_TABLE (pci, sis96x_ids); -static int __devinit sis96x_probe (struct pci_dev *dev, +static int sis96x_probe (struct pci_dev *dev,const struct pci_device_id *id) {u16 ww =0 ;
drivers/i2c/busses/i2c-tegra.c +1 -1
@@ -651,7 +651,7 @@ static const struct of_device_id tegra_i2c_of_match[] __devinitconst = {MODULE_DEVICE_TABLE (of, tegra_i2c_of_match);#endif -static int __devinit tegra_i2c_probe (struct platform_device *pdev) +static int tegra_i2c_probe (struct platform_device *pdev) {struct tegra_i2c_dev *i2c_dev;struct tegra_i2c_platform_data *pdata = pdev->dev.platform_data;
drivers/i2c/busses/i2c-via.c +1 -1
@@ -96,7 +96,7 @@ static DEFINE_PCI_DEVICE_TABLE(vt586b_ids) = {MODULE_DEVICE_TABLE (pci, vt586b_ids); -static int __devinit vt586b_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int vt586b_probe (struct pci_dev *dev,const struct pci_device_id *id) {u16 base;u8 rev;
drivers/i2c/busses/i2c-viapro.c +1 -1
@@ -320,7 +320,7 @@ static struct i2c_adapter vt596_adapter = { .algo = &smbus_algorithm, }; -static int __devinit vt596_probe (struct pci_dev *pdev, +static int vt596_probe (struct pci_dev *pdev,const struct pci_device_id *id) {unsigned char temp;
drivers/i2c/busses/i2c-xiic.c +1 -1
@@ -689,7 +689,7 @@ static struct i2c_adapter xiic_adapter = { }; -static int __devinit xiic_i2c_probe (struct platform_device *pdev) +static int xiic_i2c_probe (struct platform_device *pdev) {struct xiic_i2c *i2c;struct xiic_i2c_platform_data *pdata;
drivers/i2c/busses/i2c-xlr.c +1 -1
@@ -214,7 +214,7 @@ static struct i2c_algorithm xlr_i2c_algo = { .functionality = xlr_func, }; -static int __devinit xlr_i2c_probe (struct platform_device *pdev) +static int xlr_i2c_probe (struct platform_device *pdev) {struct xlr_i2c_private *priv;struct resource *res;
drivers/i2c/busses/scx200_acb.c +5 -5
@@ -389,7 +389,7 @@ static const struct i2c_algorithm scx200_acb_algorithm = {static struct scx200_acb_iface *scx200_acb_list;static DEFINE_MUTEX (scx200_acb_list_mutex); -static __devinit int scx200_acb_probe (struct scx200_acb_iface *iface) +static int scx200_acb_probe (struct scx200_acb_iface *iface) {u8 val;
@@ -424,7 +424,7 @@ static __devinit int scx200_acb_probe(struct scx200_acb_iface *iface)return 0 ; } -static __devinit struct scx200_acb_iface *scx200_create_iface (const char *text, +static struct scx200_acb_iface *scx200_create_iface (const char *text,struct device *dev,int index) {struct scx200_acb_iface *iface;
@@ -449,7 +449,7 @@ static __devinit struct scx200_acb_iface *scx200_create_iface(const char *text,return iface; } -static int __devinit scx200_acb_create (struct scx200_acb_iface *iface) +static int scx200_acb_create (struct scx200_acb_iface *iface) {struct i2c_adapter *adapter;int rc;
@@ -480,7 +480,7 @@ static int __devinit scx200_acb_create(struct scx200_acb_iface *iface)return 0 ; } -static struct scx200_acb_iface *__devinit scx200_create_dev (const char *text, +static struct scx200_acb_iface *scx200_create_dev (const char *text,unsigned long base,int index,struct device *dev) {struct scx200_acb_iface *iface;
@@ -508,7 +508,7 @@ static struct scx200_acb_iface * __devinit scx200_create_dev(const char *text,return NULL ; } -static int __devinit scx200_probe (struct platform_device *pdev) +static int scx200_probe (struct platform_device *pdev) {struct scx200_acb_iface *iface;struct resource *res;
drivers/i2c/muxes/i2c-mux-gpio.c +2 -2
@@ -51,13 +51,13 @@ static int i2c_mux_gpio_deselect(struct i2c_adapter *adap, void *data, u32 chan)return 0 ; } -static int __devinit match_gpio_chip_by_label (struct gpio_chip *chip, +static int match_gpio_chip_by_label (struct gpio_chip *chip,void *data) {return !strcmp (chip->label, data); } -static int __devinit i2c_mux_gpio_probe (struct platform_device *pdev) +static int i2c_mux_gpio_probe (struct platform_device *pdev) {struct gpiomux *mux;struct i2c_mux_gpio_platform_data *pdata;
drivers/i2c/muxes/i2c-mux-pinctrl.c +1 -1
@@ -129,7 +129,7 @@ static inline int i2c_mux_pinctrl_parse_dt(struct i2c_mux_pinctrl *mux, }#endif -static int __devinit i2c_mux_pinctrl_probe (struct platform_device *pdev) +static int i2c_mux_pinctrl_probe (struct platform_device *pdev) {struct i2c_mux_pinctrl *mux;int (*deselect)(struct i2c_adapter *,void *,u32 );
Signature · 1 line
1.8.0
PATCH 207/493 i2c: remove use of __devinit
Hi Bill,
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.
Can you please point me/us to the discussion explaining the rationale behind this move, and the explanation of what will be done exactly? While I can easily understand that we want to drop CONFIG_HOTPLUG and always enable hot-plug support, I don't see where we are going with removing __devinit annotations and the like.
Thanks,
Signature · 1 line
Jean Delvare
PATCH 207/493 i2c: remove use of __devinit
Quoted 11 lines · Jean Delvare
Hi Bill,
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Can you please point me/us to the discussion explaining the rationale behind this move, and the explanation of what will be done exactly? While I can easily understand that we want to drop
CONFIG_HOTPLUGand always enable hot-plug support, I don't see where we are going with removing__devinitannotations and the like.
It's actually very simple to understand.
1. CONFIG_HOTPLUG is going away; it's already defined to always be 'Y'.
2. This means that the the devinit sections will not be discarded anymore.
3. As a result, there's no point the devinit sections existing anymore.
4. As there's no devinit sections, the __devinit marker is entirely redundant and useless.
The reason this is being done is because the benefit to cost ratio of this is far too high; it's well proven that people constantly get these markings wrong, and with most kernels having had hotplug enabled anyway, it's not providing much in the way of space saving benefit over the number of section conflicts it causes. So, it's been decided a few years ago that this is going to happen, with that justification, and it's been accepted by 300 odd kernel developers in at least one kernel summit when it was talked about... and it's been mentioned on mailing lists several times.
PATCH 207/493 i2c: remove use of __devinit
Quoted 13 lines · Russell King - ARM Linux
Quoted 11 lines · Jean Delvare
Hi Bill,
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Can you please point me/us to the discussion explaining the rationale behind this move, and the explanation of what will be done exactly? While I can easily understand that we want to drop
CONFIG_HOTPLUGand always enable hot-plug support, I don't see where we are going with removing__devinitannotations and the like.
Quoted 7 lines
It's actually very simple to understand.
1.
CONFIG_HOTPLUGis going away; it's already defined to always be 'Y'.
2. This means that the the devinit sections will not be discarded anymore.
3. As a result, there's no point the devinit sections existing anymore.
4. As there's no devinit sections, the__devinitmarker is entirely redundant and useless.
Ah, yes, very simple indeed. Not sure how I managed to not understand it earlier today. Thanks for explaining.
Quoted 5 lines
The reason this is being done is because the benefit to cost ratio of this is far too high; it's well proven that people constantly get these markings wrong, and with most kernels having had hotplug enabled anyway, it's not providing much in the way of space saving benefit over the number of section conflicts it causes. So, it's been decided a few years ago that this is
Yes, I completely agree.
Quoted 2 lines
going to happen, with that justification, and it's been accepted by 300 odd kernel developers in at least one kernel summit when it was talked
Probably that was one I didn't attend to, as I can't remember this discussion.
Quoted 1 line
about... and it's been mentioned on mailing lists several times.
Maybe LKML, which I don't read. So I wasn't aware of the plan before seeing Bill's patches.
Signature · 1 line
Jean Delvare
PATCH 207/493 i2c: remove use of __devinit
In reply to Bill Pemberton2012/11/20 Bill Pemberton <[email protected]>:
Quoted 20 lines
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Jean Delvare <[email protected]>Cc Wolfram Sang <[email protected]>Cc "Ben Dooks " <[email protected]>Cc Rudolf Marek <[email protected]>Cc Jochen Friedrich <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Tony Lindgren <[email protected]>Cc Olof Johansson <[email protected]>Cc Vitaly Wool <[email protected]>Cc Guan Xuetao <[email protected]>Cc Barry Song <[email protected]>Cc "Mark M. Hoffman" <[email protected]>Cc linux-i2c at vger.kernel.orgCc linuxppc-dev at lists.ozlabs.orgCc linux-omap at vger.kernel.orgCc linux-arm-kernel at lists.infradead.org
Quoted 1 line
---
Quoted 54 lines
drivers/i2c/busses/i2c-ali1535.c | 4 ++-- drivers/i2c/busses/i2c-ali1563.c | 4 ++-- drivers/i2c/busses/i2c-ali15x3.c | 4 ++-- drivers/i2c/busses/i2c-amd756.c | 2 +- drivers/i2c/busses/i2c-amd8111.c | 2 +- drivers/i2c/busses/i2c-at91.c | 6 +++--- drivers/i2c/busses/i2c-au1550.c | 2 +- drivers/i2c/busses/i2c-cpm.c | 4 ++-- drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +- drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- drivers/i2c/busses/i2c-eg20t.c | 2 +- drivers/i2c/busses/i2c-elektor.c | 4 ++-- drivers/i2c/busses/i2c-gpio.c | 4 ++-- drivers/i2c/busses/i2c-highlander.c | 2 +- drivers/i2c/busses/i2c-hydra.c | 2 +- drivers/i2c/busses/i2c-i801.c | 14 +++++++------- drivers/i2c/busses/i2c-ibm_iic.c | 4 ++-- drivers/i2c/busses/i2c-intel-mid.c | 2 +- drivers/i2c/busses/i2c-isch.c | 2 +- drivers/i2c/busses/i2c-mpc.c | 20 ++++++++++---------- drivers/i2c/busses/i2c-mv64xxx.c | 12 ++++++------ drivers/i2c/busses/i2c-mxs.c | 2 +- drivers/i2c/busses/i2c-nforce2.c | 4 ++-- drivers/i2c/busses/i2c-nuc900.c | 2 +- drivers/i2c/busses/i2c-ocores.c | 2 +- drivers/i2c/busses/i2c-octeon.c | 6 +++--- drivers/i2c/busses/i2c-omap.c | 2 +- drivers/i2c/busses/i2c-parport-light.c | 2 +- drivers/i2c/busses/i2c-pasemi.c | 2 +- drivers/i2c/busses/i2c-pca-isa.c | 4 ++-- drivers/i2c/busses/i2c-pca-platform.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 10 +++++----- drivers/i2c/busses/i2c-pmcmsp.c | 2 +- drivers/i2c/busses/i2c-pnx.c | 2 +- drivers/i2c/busses/i2c-powermac.c | 12 ++++++------ drivers/i2c/busses/i2c-puv3.c | 2 +- drivers/i2c/busses/i2c-pxa-pci.c | 2 +- drivers/i2c/busses/i2c-rcar.c | 2 +- drivers/i2c/busses/i2c-s6000.c | 4 ++-- drivers/i2c/busses/i2c-sh7760.c | 4 ++-- drivers/i2c/busses/i2c-sirf.c | 2 +- drivers/i2c/busses/i2c-sis5595.c | 4 ++-- drivers/i2c/busses/i2c-sis630.c | 4 ++-- drivers/i2c/busses/i2c-sis96x.c | 2 +- drivers/i2c/busses/i2c-tegra.c | 2 +- drivers/i2c/busses/i2c-via.c | 2 +- drivers/i2c/busses/i2c-viapro.c | 2 +- drivers/i2c/busses/i2c-xiic.c | 2 +- drivers/i2c/busses/i2c-xlr.c | 2 +- drivers/i2c/busses/scx200_acb.c | 10 +++++----- drivers/i2c/muxes/i2c-mux-gpio.c | 4 ++-- drivers/i2c/muxes/i2c-mux-pinctrl.c | 2 +- 52 files changed, 103 insertions(+), 103 deletions(-)
PATCH 208/493 ide: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/ide/aec62xx.c | 2 +- drivers/ide/alim15x3.c | 6 +++--- drivers/ide/amd74xx.c | 2 +- drivers/ide/atiixp.c | 2 +- drivers/ide/cmd64x.c | 2 +- drivers/ide/cs5520.c | 2 +- drivers/ide/cs5530.c | 4 ++-- drivers/ide/cs5535.c | 2 +- drivers/ide/cy82c693.c | 4 ++-- drivers/ide/delkin_cb.c | 2 +- drivers/ide/hpt366.c | 12 ++++++------ drivers/ide/icside.c | 6 +++--- drivers/ide/ide-pci-generic.c | 2 +- drivers/ide/ide_platform.c | 4 ++-- drivers/ide/it8172.c | 2 +- drivers/ide/it8213.c | 2 +- drivers/ide/it821x.c | 4 ++-- drivers/ide/jmicron.c | 2 +- drivers/ide/ns87415.c | 6 +++--- drivers/ide/opti621.c | 2 +- drivers/ide/palm_bk3710.c | 4 ++-- drivers/ide/pdc202xx_new.c | 4 ++-- drivers/ide/pdc202xx_old.c | 4 ++-- drivers/ide/piix.c | 6 +++--- drivers/ide/pmac.c | 10 +++++----- drivers/ide/rapide.c | 2 +- drivers/ide/rz1000.c | 4 ++-- drivers/ide/sc1200.c | 2 +- drivers/ide/scc_pata.c | 12 ++++++------ drivers/ide/serverworks.c | 2 +- drivers/ide/sgiioc4.c | 8 ++++---- drivers/ide/siimage.c | 6 +++--- drivers/ide/sis5513.c | 4 ++-- drivers/ide/sl82c105.c | 2 +- drivers/ide/slc90e66.c | 2 +- drivers/ide/tc86c001.c | 4 ++-- drivers/ide/triflex.c | 2 +- drivers/ide/trm290.c | 4 ++-- drivers/ide/via82cxxx.c | 2 +- 39 files changed, 77 insertions(+), 77 deletions(-)
drivers/ide/aec62xx.c +1 -1
@@ -251,7 +251,7 @@ static const struct ide_port_info aec62xx_chipsets[] __devinitconst = {* chips, pass a local copy of 'struct ide_port_info' down the call chain. */ -static int __devinit aec62xx_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int aec62xx_init_one (struct pci_dev *dev,const struct pci_device_id *id) {const struct chipset_bus_clock_list_entry *bus_clock;struct ide_port_info d;
drivers/ide/alim15x3.c +3 -3
@@ -415,7 +415,7 @@ static u8 ali_cable_detect(ide_hwif_t *hwif)* Sparc systems. */ -static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif) +static void init_hwif_ali15x3 (ide_hwif_t *hwif) {u8 ideic, inmir;s8 irq_routing_table[] = {-1 ,9 ,3 ,10 ,4 ,5 ,7 ,6 ,
@@ -464,7 +464,7 @@ static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif)* Set up the DMA functionality on the ALi 15x3. */ -static int __devinit init_dma_ali15x3 (ide_hwif_t *hwif, +static int init_dma_ali15x3 (ide_hwif_t *hwif,const struct ide_port_info *d) {struct pci_dev *dev =to_pci_dev (hwif->dev);
@@ -532,7 +532,7 @@ static const struct ide_port_info ali15x3_chipset __devinitconst = {* hot plug layer. */ -static int __devinit alim15x3_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int alim15x3_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d = ali15x3_chipset;u8 rev = dev->revision, idx = id->driver_data;
drivers/ide/amd74xx.c +1 -1
@@ -235,7 +235,7 @@ static const struct ide_port_info amd74xx_chipsets[] __devinitconst = { /* 6: AMD5536 */ DECLARE_AMD_DEV(ATA_SWDMA2, ATA_UDMA5), }; -static int __devinit amd74xx_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int amd74xx_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d;u8 idx = id->driver_data;
drivers/ide/atiixp.c +1 -1
@@ -168,7 +168,7 @@ static const struct ide_port_info atiixp_pci_info[] __devinitconst = {* finds a device matching our IDE device tables. */ -static int __devinit atiixp_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int atiixp_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &atiixp_pci_info[id->driver_data],NULL ); }
drivers/ide/cmd64x.c +1 -1
@@ -373,7 +373,7 @@ static const struct ide_port_info cmd64x_chipsets[] __devinitconst = { } }; -static int __devinit cmd64x_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int cmd64x_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d;u8 idx = id->driver_data;
drivers/ide/cs5520.c +1 -1
@@ -108,7 +108,7 @@ static const struct ide_port_info cyrix_chipset __devinitconst = {* work longhand. */ -static int __devinit cs5520_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int cs5520_init_one (struct pci_dev *dev,const struct pci_device_id *id) {const struct ide_port_info *d = &cyrix_chipset;struct ide_hw hw[2 ], *hws[] = {NULL ,NULL };
drivers/ide/cs5530.c +2 -2
@@ -226,7 +226,7 @@ out:* performs channel-specific pre-initialization before drive probing. */ -static void __devinit init_hwif_cs5530 (ide_hwif_t *hwif) +static void init_hwif_cs5530 (ide_hwif_t *hwif) {unsigned long basereg;u32 d0_timings;
@@ -257,7 +257,7 @@ static const struct ide_port_info cs5530_chipset __devinitconst = { .udma_mask = ATA_UDMA2, }; -static int __devinit cs5530_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int cs5530_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &cs5530_chipset,NULL ); }
drivers/ide/cs5535.c +1 -1
@@ -179,7 +179,7 @@ static const struct ide_port_info cs5535_chipset __devinitconst = { .udma_mask = ATA_UDMA4, }; -static int __devinit cs5535_init_one (struct pci_dev *dev, +static int cs5535_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &cs5535_chipset,NULL );
drivers/ide/cy82c693.c +2 -2
@@ -145,7 +145,7 @@ static void cy82c693_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)pci_dev_put (dev); } -static void __devinit init_iops_cy82c693 (ide_hwif_t *hwif) +static void init_iops_cy82c693 (ide_hwif_t *hwif) {static ide_hwif_t *primary;struct pci_dev *dev =to_pci_dev (hwif->dev);
@@ -173,7 +173,7 @@ static const struct ide_port_info cy82c693_chipset __devinitconst = { .mwdma_mask = ATA_MWDMA2, }; -static int __devinit cy82c693_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int cy82c693_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct pci_dev *dev2;int ret = -ENODEV ;
drivers/ide/delkin_cb.c +1 -1
@@ -71,7 +71,7 @@ static const struct ide_port_info delkin_cb_port_info = { .chipset = ide_pci, }; -static int __devinit +static int delkin_cb_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_host *host;
drivers/ide/hpt366.c +6 -6
@@ -1197,7 +1197,7 @@ static u8 hpt3xx_cable_detect(ide_hwif_t *hwif)return (scr1 & ata66) ?ATA_CBL_PATA40 :ATA_CBL_PATA80 ; } -static void __devinit init_hwif_hpt366 (ide_hwif_t *hwif) +static void init_hwif_hpt366 (ide_hwif_t *hwif) {struct hpt_info *info =hpt3xx_get_info (hwif->dev);u8 chip_type = info->chip_type;
@@ -1221,7 +1221,7 @@ static void __devinit init_hwif_hpt366(ide_hwif_t *hwif) } } -static int __devinit init_dma_hpt366 (ide_hwif_t *hwif, +static int init_dma_hpt366 (ide_hwif_t *hwif,const struct ide_port_info *d) {struct pci_dev *dev =to_pci_dev (hwif->dev);
@@ -1265,7 +1265,7 @@ static int __devinit init_dma_hpt366(ide_hwif_t *hwif,return 0 ; } -static void __devinit hpt374_init (struct pci_dev *dev,struct pci_dev *dev2) +static void hpt374_init (struct pci_dev *dev,struct pci_dev *dev2) {if (dev2->irq != dev->irq) {/* FIXME: we need a core pci_set_interrupt() */
@@ -1275,7 +1275,7 @@ static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) } } -static void __devinit hpt371_init (struct pci_dev *dev) +static void hpt371_init (struct pci_dev *dev) {u8 mcr1 =0 ;
@@ -1290,7 +1290,7 @@ static void __devinit hpt371_init(struct pci_dev *dev)pci_write_config_byte (dev,0x50 , mcr1 & ~0x04 ); } -static int __devinit hpt36x_init (struct pci_dev *dev,struct pci_dev *dev2) +static int hpt36x_init (struct pci_dev *dev,struct pci_dev *dev2) {u8 mcr1 =0 , pin1 =0 , pin2 =0 ;
@@ -1402,7 +1402,7 @@ static const struct ide_port_info hpt366_chipsets[] __devinitconst = {* Called when the PCI registration layer (or the IDE initialization) * finds a device matching our IDE device tables. */ -static int __devinit hpt366_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int hpt366_init_one (struct pci_dev *dev,const struct pci_device_id *id) {const struct hpt_info *info =NULL ;struct hpt_info *dyn_info;
drivers/ide/icside.c +3 -3
@@ -406,7 +406,7 @@ static const struct ide_port_info icside_v5_port_info = { .chipset = ide_acorn, }; -static int __devinit +static int icside_register_v5 (struct icside_state *state,struct expansion_card *ec) {void __iomem *base;
@@ -460,7 +460,7 @@ static const struct ide_port_info icside_v6_port_info __initconst = { .chipset = ide_acorn, }; -static int __devinit +static int icside_register_v6 (struct icside_state *state,struct expansion_card *ec) {void __iomem *ioc_base, *easi_base;
@@ -537,7 +537,7 @@ out:return ret; } -static int __devinit +static int icside_probe (struct expansion_card *ec,const struct ecard_id *id) {struct icside_state *state;
drivers/ide/ide-pci-generic.c +1 -1
@@ -103,7 +103,7 @@ static const struct ide_port_info generic_chipsets[] __devinitconst = {* finds a device matching our IDE device tables. */ -static int __devinit generic_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int generic_init_one (struct pci_dev *dev,const struct pci_device_id *id) {const struct ide_port_info *d = &generic_chipsets[id->driver_data];int ret = -ENODEV ;
drivers/ide/ide_platform.c +2 -2
@@ -22,7 +22,7 @@#include <linux/interrupt.h> #include <linux/io.h> -static void __devinit plat_ide_setup_ports(struct ide_hw *hw, +static void plat_ide_setup_ports(struct ide_hw *hw, void __iomem *base, void __iomem *ctrl, struct pata_platform_info *pdata,
@@ -48,7 +48,7 @@ static const struct ide_port_info platform_ide_port_info = { .chipset = ide_generic, }; -static int __devinit plat_ide_probe (struct platform_device *pdev) +static int plat_ide_probe (struct platform_device *pdev) {struct resource *res_base, *res_alt, *res_irq;void __iomem *base, *alt_base;
drivers/ide/it8172.c +1 -1
@@ -125,7 +125,7 @@ static const struct ide_port_info it8172_port_info __devinitconst = { .udma_mask = ATA_UDMA2, }; -static int __devinit it8172_init_one (struct pci_dev *dev, +static int it8172_init_one (struct pci_dev *dev,const struct pci_device_id *id) {if ((dev->class >>8 ) !=PCI_CLASS_STORAGE_IDE )
drivers/ide/it8213.c +1 -1
@@ -177,7 +177,7 @@ static const struct ide_port_info it8213_chipset __devinitconst = {* standard helper functions to do almost all the work for us. */ -static int __devinit it8213_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int it8213_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &it8213_chipset,NULL ); }
drivers/ide/it821x.c +2 -2
@@ -528,7 +528,7 @@ static struct ide_dma_ops it821x_pass_through_dma_ops = {* ide DMA handlers appropriately */ -static void __devinit init_hwif_it821x (ide_hwif_t *hwif) +static void init_hwif_it821x (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);struct ide_host *host =pci_get_drvdata (dev);
@@ -647,7 +647,7 @@ static const struct ide_port_info it821x_chipset __devinitconst = {* We then use the IDE PCI generic helper to do most of the work. */ -static int __devinit it821x_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int it821x_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct it821x_dev *itdevs;int rc;
drivers/ide/jmicron.c +1 -1
@@ -120,7 +120,7 @@ static const struct ide_port_info jmicron_chipset __devinitconst = {* We then use the IDE PCI generic helper to do most of the work. */ -static int __devinit jmicron_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int jmicron_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &jmicron_chipset,NULL ); }
drivers/ide/ns87415.c +3 -3
@@ -96,7 +96,7 @@ static const struct ide_tp_ops superio_tp_ops = { .output_data = ide_output_data, }; -static void __devinit superio_init_iops (struct hwif_s *hwif) +static void superio_init_iops (struct hwif_s *hwif) {struct pci_dev *pdev =to_pci_dev (hwif->dev);u32 dma_stat;
@@ -201,7 +201,7 @@ static int ns87415_dma_end(ide_drive_t *drive)return (dma_stat &7 ) !=4 ; } -static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) +static void init_hwif_ns87415 (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);unsigned int ctrl, using_inta;
@@ -302,7 +302,7 @@ static const struct ide_port_info ns87415_chipset __devinitconst = { IDE_HFLAG_NO_ATAPI_DMA, }; -static int __devinit ns87415_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int ns87415_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d = ns87415_chipset;
drivers/ide/opti621.c +1 -1
@@ -139,7 +139,7 @@ static const struct ide_port_info opti621_chipset __devinitconst = { .pio_mask = ATA_PIO4, }; -static int __devinit opti621_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int opti621_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &opti621_chipset,NULL ); }
drivers/ide/palm_bk3710.c +2 -2
@@ -220,7 +220,7 @@ static void palm_bk3710_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)palm_bk3710_setpiomode (base, mate, is_slave, cycle_time, pio); } -static void __devinit palm_bk3710_chipinit (void __iomem *base) +static void palm_bk3710_chipinit (void __iomem *base) {/* * REVISIT: the ATA reset signal needs to be managed through a
@@ -282,7 +282,7 @@ static u8 palm_bk3710_cable_detect(ide_hwif_t *hwif)return ATA_CBL_PATA80 ; } -static int __devinit palm_bk3710_init_dma (ide_hwif_t *hwif, +static int palm_bk3710_init_dma (ide_hwif_t *hwif,const struct ide_port_info *d) {printk (KERN_INFO " %s: MMIO-DMA\n" , hwif->name);
drivers/ide/pdc202xx_new.c +2 -2
@@ -422,7 +422,7 @@ static int init_chipset_pdcnew(struct pci_dev *dev)return 0 ; } -static struct pci_dev *__devinit pdc20270_get_dev2 (struct pci_dev *dev) +static struct pci_dev *pdc20270_get_dev2 (struct pci_dev *dev) {struct pci_dev *dev2;
@@ -479,7 +479,7 @@ static const struct ide_port_info pdcnew_chipsets[] __devinitconst = {* finds a device matching our IDE device tables. */ -static int __devinit pdc202new_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int pdc202new_init_one (struct pci_dev *dev,const struct pci_device_id *id) {const struct ide_port_info *d = &pdcnew_chipsets[id->driver_data];struct pci_dev *bridge = dev->bus->self;
drivers/ide/pdc202xx_old.c +2 -2
@@ -211,7 +211,7 @@ out:return 0 ; } -static void __devinit pdc202ata4_fixup_irq (struct pci_dev *dev, +static void pdc202ata4_fixup_irq (struct pci_dev *dev,const char *name) {if ((dev->class >>8 ) !=PCI_CLASS_STORAGE_IDE ) {
@@ -297,7 +297,7 @@ static const struct ide_port_info pdc202xx_chipsets[] __devinitconst = {* finds a device matching our IDE device tables. */ -static int __devinit pdc202xx_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int pdc202xx_init_one (struct pci_dev *dev,const struct pci_device_id *id) {const struct ide_port_info *d;u8 idx = id->driver_data;
drivers/ide/piix.c +3 -3
@@ -297,7 +297,7 @@ static u8 piix_cable_detect(ide_hwif_t *hwif)* capabilities of the hardware. */ -static void __devinit init_hwif_piix (ide_hwif_t *hwif) +static void init_hwif_piix (ide_hwif_t *hwif) {if (!hwif->dma_base)return ;
@@ -382,7 +382,7 @@ static const struct ide_port_info piix_pci_info[] __devinitconst = {* finds a device matching our IDE device tables. */ -static int __devinit piix_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int piix_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &piix_pci_info[id->driver_data],NULL ); }
@@ -394,7 +394,7 @@ static int __devinit piix_init_one(struct pci_dev *dev, const struct pci_device_* they are found, disable use of DMA IDE */ -static void __devinit piix_check_450nx (void ) +static void piix_check_450nx (void ) {struct pci_dev *pdev =NULL ;u16 cfg;
drivers/ide/pmac.c +5 -5
@@ -1025,7 +1025,7 @@ static const struct ide_port_info pmac_port_info = {* Setup, register & probe an IDE channel driven by this driver, this is * called by one of the 2 probe functions (macio or PCI). */ -static int __devinit pmac_ide_setup_device (pmac_ide_hwif_t *pmif, +static int pmac_ide_setup_device (pmac_ide_hwif_t *pmif,struct ide_hw *hw) {struct device_node *np = pmif->node;
@@ -1126,7 +1126,7 @@ static int __devinit pmac_ide_setup_device(pmac_ide_hwif_t *pmif,return rc; } -static void __devinit pmac_ide_init_ports (struct ide_hw *hw,unsigned long base) +static void pmac_ide_init_ports (struct ide_hw *hw,unsigned long base) {int i;
@@ -1139,7 +1139,7 @@ static void __devinit pmac_ide_init_ports(struct ide_hw *hw, unsigned long base)/* * Attach to a macio probed interface */ -static int __devinit +static int pmac_ide_macio_attach (struct macio_dev *mdev,const struct of_device_id *match) {void __iomem *base;
@@ -1262,7 +1262,7 @@ pmac_ide_macio_resume(struct macio_dev *mdev)/* * Attach to a PCI probed interface */ -static int __devinit +static int pmac_ide_pci_attach (struct pci_dev *pdev,const struct pci_device_id *id) {struct device_node *np;
@@ -1692,7 +1692,7 @@ static const struct ide_dma_ops pmac_dma_ops = {* Allocate the data structures needed for using DMA with an interface * and fill the proper list of functions pointers */ -static int __devinit pmac_ide_init_dma (ide_hwif_t *hwif, +static int pmac_ide_init_dma (ide_hwif_t *hwif,const struct ide_port_info *d) { pmac_ide_hwif_t *pmif =
drivers/ide/rapide.c +1 -1
@@ -29,7 +29,7 @@ static void rapide_setup_ports(struct ide_hw *hw, void __iomem *base, hw->irq = irq; } -static int __devinit +static int rapide_probe (struct expansion_card *ec,const struct ecard_id *id) {void __iomem *base;
drivers/ide/rz1000.c +2 -2
@@ -22,7 +22,7 @@#define DRV_NAME "rz1000" -static int __devinit rz1000_disable_readahead (struct pci_dev *dev) +static int rz1000_disable_readahead (struct pci_dev *dev) {u16 reg;
@@ -43,7 +43,7 @@ static const struct ide_port_info rz1000_chipset __devinitconst = { .host_flags = IDE_HFLAG_NO_DMA, }; -static int __devinit rz1000_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int rz1000_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d = rz1000_chipset;int rc;
drivers/ide/sc1200.c +1 -1
@@ -303,7 +303,7 @@ static const struct ide_port_info sc1200_chipset __devinitconst = { .udma_mask = ATA_UDMA2, }; -static int __devinit sc1200_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int sc1200_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct sc1200_saved_state *ss =NULL ;int rc;
drivers/ide/scc_pata.c +6 -6
@@ -585,7 +585,7 @@ static int scc_ide_setup_pci_device(struct pci_dev *dev,* Perform the initial set up for this device. */ -static int __devinit init_setup_scc (struct pci_dev *dev, +static int init_setup_scc (struct pci_dev *dev,const struct ide_port_info *d) {unsigned long ctl_base;
@@ -718,7 +718,7 @@ static void scc_output_data(ide_drive_t *drive, struct ide_cmd *cmd,* */ -static void __devinit init_mmio_iops_scc (ide_hwif_t *hwif) +static void init_mmio_iops_scc (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);struct scc_ports *ports =pci_get_drvdata (dev);
@@ -738,7 +738,7 @@ static void __devinit init_mmio_iops_scc(ide_hwif_t *hwif)* and then do the MMIO setup. */ -static void __devinit init_iops_scc (ide_hwif_t *hwif) +static void init_iops_scc (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);
@@ -748,7 +748,7 @@ static void __devinit init_iops_scc(ide_hwif_t *hwif)init_mmio_iops_scc (hwif); } -static int __devinit scc_init_dma (ide_hwif_t *hwif, +static int scc_init_dma (ide_hwif_t *hwif,const struct ide_port_info *d) {return ide_allocate_dma_engine (hwif);
@@ -768,7 +768,7 @@ static u8 scc_cable_detect(ide_hwif_t *hwif)* ide DMA handlers appropriately. */ -static void __devinit init_hwif_scc (ide_hwif_t *hwif) +static void init_hwif_scc (ide_hwif_t *hwif) {/* PTERADD */ out_be32 ((void __iomem *)(hwif->dma_base +0x018 ), hwif->dmatable_dma);
@@ -834,7 +834,7 @@ static const struct ide_port_info scc_chipset __devinitconst = {* We then use the IDE PCI generic helper to do most of the work. */ -static int __devinit scc_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int scc_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return init_setup_scc (dev, &scc_chipset); }
drivers/ide/serverworks.c +1 -1
@@ -391,7 +391,7 @@ static const struct ide_port_info serverworks_chipsets[] __devinitconst = {* finds a device matching our IDE device tables. */ -static int __devinit svwks_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int svwks_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d;u8 idx = id->driver_data;
drivers/ide/sgiioc4.c +4 -4
@@ -307,7 +307,7 @@ static u8 sgiioc4_read_status(ide_hwif_t *hwif) }/* Creates a DMA map for the scatter-gather list entries */ -static int __devinit ide_dma_sgiioc4 (ide_hwif_t *hwif, +static int ide_dma_sgiioc4 (ide_hwif_t *hwif,const struct ide_port_info *d) {struct pci_dev *dev =to_pci_dev (hwif->dev);
@@ -532,7 +532,7 @@ static const struct ide_port_info sgiioc4_port_info __devinitconst = { .mwdma_mask = ATA_MWDMA2_ONLY, }; -static int __devinit sgiioc4_ide_setup_pci_device (struct pci_dev *dev) +static int sgiioc4_ide_setup_pci_device (struct pci_dev *dev) {unsigned long cmd_base, irqport;unsigned long bar0, cmd_phys_base, ctl;
@@ -581,7 +581,7 @@ req_mem_rgn_err:return rc; } -static unsigned int __devinit pci_init_sgiioc4 (struct pci_dev *dev) +static unsigned int pci_init_sgiioc4 (struct pci_dev *dev) {int ret;
@@ -601,7 +601,7 @@ out:return ret; } -int __devinit ioc4_ide_attach_one (struct ioc4_driver_data *idd) +int ioc4_ide_attach_one (struct ioc4_driver_data *idd) {/* * PCI-RT does not bring out IDE connection.
drivers/ide/siimage.c +3 -3
@@ -546,7 +546,7 @@ static int init_chipset_siimage(struct pci_dev *dev)* extended PRD tables. For better SI3112 support use the libata driver */ -static void __devinit init_mmio_iops_siimage (ide_hwif_t *hwif) +static void init_mmio_iops_siimage (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);struct ide_host *host =pci_get_drvdata (dev);
@@ -646,7 +646,7 @@ static void sil_quirkproc(ide_drive_t *drive)* can get the iops right before using them. */ -static void __devinit init_iops_siimage (ide_hwif_t *hwif) +static void init_iops_siimage (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);struct ide_host *host =pci_get_drvdata (dev);
@@ -733,7 +733,7 @@ static const struct ide_port_info siimage_chipsets[] __devinitconst = {* We then use the IDE PCI generic helper to do most of the work. */ -static int __devinit siimage_init_one (struct pci_dev *dev, +static int siimage_init_one (struct pci_dev *dev,const struct pci_device_id *id) {void __iomem *ioaddr =NULL ;
drivers/ide/sis5513.c +2 -2
@@ -362,7 +362,7 @@ static u8 sis_ata133_udma_filter(ide_drive_t *drive)return (regdw &0x08 ) ?ATA_UDMA6 :ATA_UDMA5 ; } -static int __devinit sis_find_family (struct pci_dev *dev) +static int sis_find_family (struct pci_dev *dev) {struct pci_dev *host;int i =0 ;
@@ -572,7 +572,7 @@ static const struct ide_port_info sis5513_chipset __devinitconst = { .mwdma_mask = ATA_MWDMA2, }; -static int __devinit sis5513_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int sis5513_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d = sis5513_chipset;u8 udma_rates[] = {0x00 ,0x00 ,0x07 ,0x1f ,0x3f ,0x3f ,0x7f ,0x7f };
drivers/ide/sl82c105.c +1 -1
@@ -313,7 +313,7 @@ static const struct ide_port_info sl82c105_chipset __devinitconst = { .mwdma_mask = ATA_MWDMA2, }; -static int __devinit sl82c105_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int sl82c105_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct ide_port_info d = sl82c105_chipset;u8 rev =sl82c105_bridge_revision (dev);
drivers/ide/slc90e66.c +1 -1
@@ -142,7 +142,7 @@ static const struct ide_port_info slc90e66_chipset __devinitconst = { .udma_mask = ATA_UDMA4, }; -static int __devinit slc90e66_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int slc90e66_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &slc90e66_chipset,NULL ); }
drivers/ide/tc86c001.c +2 -2
@@ -144,7 +144,7 @@ static u8 tc86c001_cable_detect(ide_hwif_t *hwif)return (scr1 &0x2000 ) ?ATA_CBL_PATA40 :ATA_CBL_PATA80 ; } -static void __devinit init_hwif_tc86c001 (ide_hwif_t *hwif) +static void init_hwif_tc86c001 (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);unsigned long sc_base =pci_resource_start (dev,5 );
@@ -203,7 +203,7 @@ static const struct ide_port_info tc86c001_chipset __devinitconst = { .udma_mask = ATA_UDMA4, }; -static int __devinit tc86c001_init_one (struct pci_dev *dev, +static int tc86c001_init_one (struct pci_dev *dev,const struct pci_device_id *id) {int rc;
drivers/ide/triflex.c +1 -1
@@ -101,7 +101,7 @@ static const struct ide_port_info triflex_device __devinitconst = { .mwdma_mask = ATA_MWDMA2, }; -static int __devinit triflex_init_one (struct pci_dev *dev, +static int triflex_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &triflex_device,NULL );
drivers/ide/trm290.c +2 -2
@@ -231,7 +231,7 @@ static void trm290_dma_host_set(ide_drive_t *drive, int on) { } -static void __devinit init_hwif_trm290 (ide_hwif_t *hwif) +static void init_hwif_trm290 (ide_hwif_t *hwif) {struct pci_dev *dev =to_pci_dev (hwif->dev);unsigned int cfg_base =pci_resource_start (dev,4 );
@@ -338,7 +338,7 @@ static const struct ide_port_info trm290_chipset __devinitconst = { IDE_HFLAG_NO_LBA48, }; -static int __devinit trm290_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int trm290_init_one (struct pci_dev *dev,const struct pci_device_id *id) {return ide_pci_init_one (dev, &trm290_chipset,NULL ); }
drivers/ide/via82cxxx.c +1 -1
@@ -416,7 +416,7 @@ static const struct ide_port_info via82cxxx_chipset __devinitconst = { .mwdma_mask = ATA_MWDMA2, }; -static int __devinit via_init_one (struct pci_dev *dev,const struct pci_device_id *id) +static int via_init_one (struct pci_dev *dev,const struct pci_device_id *id) {struct pci_dev *isa =NULL ;struct via_isa_bridge *via_config;
Signature · 1 line
1.8.0
PATCH 209/493 iio: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/iio/accel/hid-sensor-accel-3d.c | 4 ++-- drivers/iio/adc/ad7266.c | 4 ++-- drivers/iio/adc/ad7476.c | 2 +- drivers/iio/adc/ad7791.c | 4 ++-- drivers/iio/adc/ad7887.c | 2 +- drivers/iio/adc/at91_adc.c | 2 +- drivers/iio/adc/lp8788_adc.c | 2 +- drivers/iio/adc/max1363.c | 6 +++--- drivers/iio/adc/ti_am335x_adc.c | 2 +- drivers/iio/amplifiers/ad8366.c | 2 +- drivers/iio/dac/ad5064.c | 6 +++--- drivers/iio/dac/ad5360.c | 4 ++-- drivers/iio/dac/ad5380.c | 8 ++++---- drivers/iio/dac/ad5421.c | 2 +- drivers/iio/dac/ad5446.c | 6 +++--- drivers/iio/dac/ad5449.c | 2 +- drivers/iio/dac/ad5504.c | 2 +- drivers/iio/dac/ad5624r_spi.c | 2 +- drivers/iio/dac/ad5686.c | 2 +- drivers/iio/dac/ad5755.c | 8 ++++---- drivers/iio/dac/ad5764.c | 2 +- drivers/iio/dac/ad5791.c | 2 +- drivers/iio/dac/max517.c | 2 +- drivers/iio/dac/mcp4725.c | 2 +- drivers/iio/frequency/ad9523.c | 2 +- drivers/iio/frequency/adf4350.c | 2 +- drivers/iio/gyro/hid-sensor-gyro-3d.c | 4 ++-- drivers/iio/light/adjd_s311.c | 2 +- drivers/iio/light/hid-sensor-als.c | 4 ++-- drivers/iio/light/lm3533-als.c | 12 ++++++------ drivers/iio/light/vcnl4000.c | 2 +- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 4 ++-- 32 files changed, 56 insertions(+), 56 deletions(-)
drivers/iio/accel/hid-sensor-accel-3d.c +2 -2
@@ -278,7 +278,7 @@ static int accel_3d_parse_report(struct platform_device *pdev, }/* Function to initialize the processing for usage id */ -static int __devinit hid_accel_3d_probe (struct platform_device *pdev) +static int hid_accel_3d_probe (struct platform_device *pdev) {int ret =0 ;static const char *name ="accel_3d" ;
@@ -375,7 +375,7 @@ error_ret: }/* Function to deinitialize the processing for usage id */ -static int __devinit hid_accel_3d_remove (struct platform_device *pdev) +static int hid_accel_3d_remove (struct platform_device *pdev) {struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;struct iio_dev *indio_dev =platform_get_drvdata (pdev);
drivers/iio/adc/ad7266.c +2 -2
@@ -367,7 +367,7 @@ static const struct ad7266_chan_info ad7266_chan_infos[] = { }, }; -static void __devinit ad7266_init_channels (struct iio_dev *indio_dev) +static void ad7266_init_channels (struct iio_dev *indio_dev) {struct ad7266_state *st =iio_priv (indio_dev);bool is_differential, is_signed;
@@ -391,7 +391,7 @@ static const char * const ad7266_gpio_labels[] = { "AD0", "AD1", "AD2", }; -static int __devinit ad7266_probe (struct spi_device *spi) +static int ad7266_probe (struct spi_device *spi) {struct ad7266_platform_data *pdata = spi->dev.platform_data;struct iio_dev *indio_dev;
drivers/iio/adc/ad7476.c +1 -1
@@ -207,7 +207,7 @@ static const struct iio_info ad7476_info = { .read_raw = &ad7476_read_raw, }; -static int __devinit ad7476_probe (struct spi_device *spi) +static int ad7476_probe (struct spi_device *spi) {struct ad7476_state *st;struct iio_dev *indio_dev;
drivers/iio/adc/ad7791.c +2 -2
@@ -325,7 +325,7 @@ static const struct iio_info ad7791_no_filter_info = { .driver_module = THIS_MODULE, }; -static int __devinit ad7791_setup (struct ad7791_state *st, +static int ad7791_setup (struct ad7791_state *st,struct ad7791_platform_data *pdata) {/* Set to poweron-reset default values */
@@ -349,7 +349,7 @@ static int __devinit ad7791_setup(struct ad7791_state *st, st->mode); } -static int __devinit ad7791_probe (struct spi_device *spi) +static int ad7791_probe (struct spi_device *spi) {struct ad7791_platform_data *pdata = spi->dev.platform_data;struct iio_dev *indio_dev;
drivers/iio/adc/ad7887.c +1 -1
@@ -233,7 +233,7 @@ static const struct iio_info ad7887_info = { .driver_module = THIS_MODULE, }; -static int __devinit ad7887_probe (struct spi_device *spi) +static int ad7887_probe (struct spi_device *spi) {struct ad7887_platform_data *pdata = spi->dev.platform_data;struct ad7887_state *st;
drivers/iio/adc/at91_adc.c +1 -1
@@ -514,7 +514,7 @@ static const struct iio_info at91_adc_info = { .read_raw = &at91_adc_read_raw, }; -static int __devinit at91_adc_probe (struct platform_device *pdev) +static int at91_adc_probe (struct platform_device *pdev) {unsigned int prsc, mstrclk, ticks, adc_clk;int ret;
drivers/iio/adc/lp8788_adc.c +1 -1
@@ -193,7 +193,7 @@ static inline void lp8788_iio_map_unregister(struct iio_dev *indio_dev,iio_map_array_unregister (indio_dev, adc->map); } -static int __devinit lp8788_adc_probe (struct platform_device *pdev) +static int lp8788_adc_probe (struct platform_device *pdev) {struct lp8788 *lp =dev_get_drvdata (pdev->dev.parent);struct iio_dev *indio_dev;
drivers/iio/adc/max1363.c +3 -3
@@ -1402,7 +1402,7 @@ static int max1363_initial_setup(struct max1363_state *st)return max1363_set_scan_mode (st); } -static int __devinit max1363_alloc_scan_masks (struct iio_dev *indio_dev) +static int max1363_alloc_scan_masks (struct iio_dev *indio_dev) {struct max1363_state *st =iio_priv (indio_dev);unsigned long *masks;
@@ -1525,8 +1525,8 @@ static void max1363_buffer_cleanup(struct iio_dev *indio_dev)iio_kfifo_free (indio_dev->buffer); } -static int __devinit max1363_probe (struct i2c_client *client, -const struct i2c_device_id *id) +static int max1363_probe (struct i2c_client *client, +const struct i2c_device_id *id) {int ret;struct max1363_state *st;
drivers/iio/adc/ti_am335x_adc.c +1 -1
@@ -136,7 +136,7 @@ static const struct iio_info tiadc_info = { .read_raw = &tiadc_read_raw, }; -static int __devinit tiadc_probe (struct platform_device *pdev) +static int tiadc_probe (struct platform_device *pdev) {struct iio_dev *indio_dev;struct tiadc_device *adc_dev;
drivers/iio/amplifiers/ad8366.c +1 -1
@@ -133,7 +133,7 @@ static const struct iio_chan_spec ad8366_channels[] = { AD8366_CHAN(1), }; -static int __devinit ad8366_probe (struct spi_device *spi) +static int ad8366_probe (struct spi_device *spi) {struct iio_dev *indio_dev;struct ad8366_state *st;
drivers/iio/dac/ad5064.c +3 -3
@@ -424,7 +424,7 @@ static const char * const ad5064_vref_name(struct ad5064_state *st,return st->chip_info->shared_vref ?"vref" : ad5064_vref_names[vref]; } -static int __devinit ad5064_probe (struct device *dev,enum ad5064_type type, +static int ad5064_probe (struct device *dev,enum ad5064_type type,const char *name,ad5064_write_func write) {struct iio_dev *indio_dev;
@@ -523,7 +523,7 @@ static int ad5064_spi_write(struct ad5064_state *st, unsigned int cmd,return spi_write (spi, &st->data.spi,sizeof (st->data.spi)); } -static int __devinit ad5064_spi_probe (struct spi_device *spi) +static int ad5064_spi_probe (struct spi_device *spi) {const struct spi_device_id *id =spi_get_device_id (spi);
@@ -596,7 +596,7 @@ static int ad5064_i2c_write(struct ad5064_state *st, unsigned int cmd,return i2c_master_send (i2c, st->data.i2c,3 ); } -static int __devinit ad5064_i2c_probe (struct i2c_client *i2c, +static int ad5064_i2c_probe (struct i2c_client *i2c,const struct i2c_device_id *id) { return ad5064_probe(&i2c->dev, id->driver_data, id->name,
drivers/iio/dac/ad5360.c +2 -2
@@ -433,7 +433,7 @@ static const char * const ad5360_vref_name[] = { "vref0", "vref1", "vref2" }; -static int __devinit ad5360_alloc_channels (struct iio_dev *indio_dev) +static int ad5360_alloc_channels (struct iio_dev *indio_dev) {struct ad5360_state *st =iio_priv (indio_dev);struct iio_chan_spec *channels;
@@ -456,7 +456,7 @@ static int __devinit ad5360_alloc_channels(struct iio_dev *indio_dev)return 0 ; } -static int __devinit ad5360_probe (struct spi_device *spi) +static int ad5360_probe (struct spi_device *spi) {enum ad5360_type type =spi_get_device_id (spi)->driver_data;struct iio_dev *indio_dev;
drivers/iio/dac/ad5380.c +4 -4
@@ -338,7 +338,7 @@ static const struct ad5380_chip_info ad5380_chip_info_tbl[] = { }, }; -static int __devinit ad5380_alloc_channels (struct iio_dev *indio_dev) +static int ad5380_alloc_channels (struct iio_dev *indio_dev) {struct ad5380_state *st =iio_priv (indio_dev);struct iio_chan_spec *channels;
@@ -361,7 +361,7 @@ static int __devinit ad5380_alloc_channels(struct iio_dev *indio_dev)return 0 ; } -static int __devinit ad5380_probe (struct device *dev,struct regmap *regmap, +static int ad5380_probe (struct device *dev,struct regmap *regmap,enum ad5380_type type,const char *name) {struct iio_dev *indio_dev;
@@ -478,7 +478,7 @@ static const struct regmap_config ad5380_regmap_config = {#if IS_ENABLED (CONFIG_SPI_MASTER ) -static int __devinit ad5380_spi_probe (struct spi_device *spi) +static int ad5380_spi_probe (struct spi_device *spi) {const struct spi_device_id *id =spi_get_device_id (spi);struct regmap *regmap;
@@ -552,7 +552,7 @@ static inline void ad5380_spi_unregister_driver(void)#if IS_ENABLED (CONFIG_I2C ) -static int __devinit ad5380_i2c_probe (struct i2c_client *i2c, +static int ad5380_i2c_probe (struct i2c_client *i2c,const struct i2c_device_id *id) {struct regmap *regmap;
drivers/iio/dac/ad5421.c +1 -1
@@ -449,7 +449,7 @@ static const struct iio_info ad5421_info = { .driver_module = THIS_MODULE, }; -static int __devinit ad5421_probe (struct spi_device *spi) +static int ad5421_probe (struct spi_device *spi) {struct ad5421_platform_data *pdata =dev_get_platdata (&spi->dev);struct iio_dev *indio_dev;
drivers/iio/dac/ad5446.c +3 -3
@@ -212,7 +212,7 @@ static const struct iio_info ad5446_info = { .driver_module = THIS_MODULE, }; -static int __devinit ad5446_probe (struct device *dev,const char *name, +static int ad5446_probe (struct device *dev,const char *name,const struct ad5446_chip_info *chip_info) {struct ad5446_state *st;
@@ -461,7 +461,7 @@ static const struct spi_device_id ad5446_spi_ids[] = { };MODULE_DEVICE_TABLE (spi, ad5446_spi_ids); -static int __devinit ad5446_spi_probe (struct spi_device *spi) +static int ad5446_spi_probe (struct spi_device *spi) {const struct spi_device_id *id =spi_get_device_id (spi);
@@ -539,7 +539,7 @@ static const struct ad5446_chip_info ad5446_i2c_chip_info[] = { }, }; -static int __devinit ad5446_i2c_probe (struct i2c_client *i2c, +static int ad5446_i2c_probe (struct i2c_client *i2c,const struct i2c_device_id *id) { return ad5446_probe(&i2c->dev, id->name,
drivers/iio/dac/ad5449.c +1 -1
@@ -266,7 +266,7 @@ static const char *ad5449_vref_name(struct ad5449 *st, int n)return "VREFB" ; } -static int __devinit ad5449_spi_probe (struct spi_device *spi) +static int ad5449_spi_probe (struct spi_device *spi) {struct ad5449_platform_data *pdata = spi->dev.platform_data;const struct spi_device_id *id =spi_get_device_id (spi);
drivers/iio/dac/ad5504.c +1 -1
@@ -277,7 +277,7 @@ static const struct iio_chan_spec ad5504_channels[] = { AD5504_CHANNEL(3), }; -static int __devinit ad5504_probe (struct spi_device *spi) +static int ad5504_probe (struct spi_device *spi) {struct ad5504_platform_data *pdata = spi->dev.platform_data;struct iio_dev *indio_dev;
drivers/iio/dac/ad5624r_spi.c +1 -1
@@ -220,7 +220,7 @@ static const struct ad5624r_chip_info ad5624r_chip_info_tbl[] = { }, }; -static int __devinit ad5624r_probe (struct spi_device *spi) +static int ad5624r_probe (struct spi_device *spi) {struct ad5624r_state *st;struct iio_dev *indio_dev;
drivers/iio/dac/ad5686.c +1 -1
@@ -313,7 +313,7 @@ static const struct ad5686_chip_info ad5686_chip_info_tbl[] = { }; -static int __devinit ad5686_probe (struct spi_device *spi) +static int ad5686_probe (struct spi_device *spi) {struct ad5686_state *st;struct iio_dev *indio_dev;
drivers/iio/dac/ad5755.c +4 -4
@@ -447,7 +447,7 @@ static bool ad5755_is_valid_mode(struct ad5755_state *st, enum ad5755_mode mode) } } -static int __devinit ad5755_setup_pdata (struct iio_dev *indio_dev, +static int ad5755_setup_pdata (struct iio_dev *indio_dev,const struct ad5755_platform_data *pdata) {struct ad5755_state *st =iio_priv (indio_dev);
@@ -503,7 +503,7 @@ static int __devinit ad5755_setup_pdata(struct iio_dev *indio_dev,return 0 ; } -static bool __devinit ad5755_is_voltage_mode (enum ad5755_mode mode) +static bool ad5755_is_voltage_mode (enum ad5755_mode mode) {switch (mode) {case AD5755_MODE_VOLTAGE_0V_5V :
@@ -516,7 +516,7 @@ static bool __devinit ad5755_is_voltage_mode(enum ad5755_mode mode) } } -static int __devinit ad5755_init_channels (struct iio_dev *indio_dev, +static int ad5755_init_channels (struct iio_dev *indio_dev,const struct ad5755_platform_data *pdata) {struct ad5755_state *st =iio_priv (indio_dev);
@@ -562,7 +562,7 @@ static const struct ad5755_platform_data ad5755_default_pdata = { }, }; -static int __devinit ad5755_probe (struct spi_device *spi) +static int ad5755_probe (struct spi_device *spi) {enum ad5755_type type =spi_get_device_id (spi)->driver_data;const struct ad5755_platform_data *pdata =dev_get_platdata (&spi->dev);
drivers/iio/dac/ad5764.c +1 -1
@@ -273,7 +273,7 @@ static const struct iio_info ad5764_info = { .driver_module = THIS_MODULE, }; -static int __devinit ad5764_probe (struct spi_device *spi) +static int ad5764_probe (struct spi_device *spi) {enum ad5764_type type =spi_get_device_id (spi)->driver_data;struct iio_dev *indio_dev;
drivers/iio/dac/ad5791.c +1 -1
@@ -346,7 +346,7 @@ static const struct iio_info ad5791_info = { .driver_module = THIS_MODULE, }; -static int __devinit ad5791_probe (struct spi_device *spi) +static int ad5791_probe (struct spi_device *spi) {struct ad5791_platform_data *pdata = spi->dev.platform_data;struct iio_dev *indio_dev;
drivers/iio/dac/max517.c +1 -1
@@ -156,7 +156,7 @@ static const struct iio_chan_spec max517_channels[] = { MAX517_CHANNEL(1) }; -static int __devinit max517_probe (struct i2c_client *client, +static int max517_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct max517_data *data;
drivers/iio/dac/mcp4725.c +1 -1
@@ -141,7 +141,7 @@ static const struct iio_info mcp4725_info = { .driver_module = THIS_MODULE, }; -static int __devinit mcp4725_probe (struct i2c_client *client, +static int mcp4725_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct mcp4725_data *data;
drivers/iio/frequency/ad9523.c +1 -1
@@ -959,7 +959,7 @@ static int ad9523_setup(struct iio_dev *indio_dev)return 0 ; } -static int __devinit ad9523_probe (struct spi_device *spi) +static int ad9523_probe (struct spi_device *spi) {struct ad9523_platform_data *pdata = spi->dev.platform_data;struct iio_dev *indio_dev;
drivers/iio/frequency/adf4350.c +1 -1
@@ -355,7 +355,7 @@ static const struct iio_info adf4350_info = { .driver_module = THIS_MODULE, }; -static int __devinit adf4350_probe (struct spi_device *spi) +static int adf4350_probe (struct spi_device *spi) {struct adf4350_platform_data *pdata = spi->dev.platform_data;struct iio_dev *indio_dev;
drivers/iio/gyro/hid-sensor-gyro-3d.c +2 -2
@@ -278,7 +278,7 @@ static int gyro_3d_parse_report(struct platform_device *pdev, }/* Function to initialize the processing for usage id */ -static int __devinit hid_gyro_3d_probe (struct platform_device *pdev) +static int hid_gyro_3d_probe (struct platform_device *pdev) {int ret =0 ;static const char *name ="gyro_3d" ;
@@ -375,7 +375,7 @@ error_ret: }/* Function to deinitialize the processing for usage id */ -static int __devinit hid_gyro_3d_remove (struct platform_device *pdev) +static int hid_gyro_3d_remove (struct platform_device *pdev) {struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;struct iio_dev *indio_dev =platform_get_drvdata (pdev);
drivers/iio/light/adjd_s311.c +1 -1
@@ -286,7 +286,7 @@ static const struct iio_info adjd_s311_info = { .driver_module = THIS_MODULE, }; -static int __devinit adjd_s311_probe (struct i2c_client *client, +static int adjd_s311_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct adjd_s311_data *data;
drivers/iio/light/hid-sensor-als.c +2 -2
@@ -245,7 +245,7 @@ static int als_parse_report(struct platform_device *pdev, }/* Function to initialize the processing for usage id */ -static int __devinit hid_als_probe (struct platform_device *pdev) +static int hid_als_probe (struct platform_device *pdev) {int ret =0 ;static const char *name ="als" ;
@@ -342,7 +342,7 @@ error_ret: }/* Function to deinitialize the processing for usage id */ -static int __devinit hid_als_remove (struct platform_device *pdev) +static int hid_als_remove (struct platform_device *pdev) {struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;struct iio_dev *indio_dev =platform_get_drvdata (pdev);
drivers/iio/light/lm3533-als.c +6 -6
@@ -718,7 +718,7 @@ static struct attribute_group lm3533_als_attribute_group = { .attrs = lm3533_als_attributes }; -static int __devinit lm3533_als_set_input_mode (struct lm3533_als *als, +static int lm3533_als_set_input_mode (struct lm3533_als *als,bool pwm_mode) {u8 mask =LM3533_ALS_INPUT_MODE_MASK ;
@@ -740,7 +740,7 @@ static int __devinit lm3533_als_set_input_mode(struct lm3533_als *als,return 0 ; } -static int __devinit lm3533_als_set_resistor (struct lm3533_als *als,u8 val) +static int lm3533_als_set_resistor (struct lm3533_als *als,u8 val) {int ret;
@@ -756,7 +756,7 @@ static int __devinit lm3533_als_set_resistor(struct lm3533_als *als, u8 val)return 0 ; } -static int __devinit lm3533_als_setup (struct lm3533_als *als, +static int lm3533_als_setup (struct lm3533_als *als,struct lm3533_als_platform_data *pdata) {int ret;
@@ -775,7 +775,7 @@ static int __devinit lm3533_als_setup(struct lm3533_als *als,return 0 ; } -static int __devinit lm3533_als_setup_irq (struct lm3533_als *als,void *dev) +static int lm3533_als_setup_irq (struct lm3533_als *als,void *dev) {u8 mask =LM3533_ALS_INT_ENABLE_MASK ;int ret;
@@ -799,7 +799,7 @@ static int __devinit lm3533_als_setup_irq(struct lm3533_als *als, void *dev)return 0 ; } -static int __devinit lm3533_als_enable (struct lm3533_als *als) +static int lm3533_als_enable (struct lm3533_als *als) {u8 mask =LM3533_ALS_ENABLE_MASK ;int ret;
@@ -830,7 +830,7 @@ static const struct iio_info lm3533_als_info = { .read_raw = &lm3533_als_read_raw, }; -static int __devinit lm3533_als_probe (struct platform_device *pdev) +static int lm3533_als_probe (struct platform_device *pdev) {struct lm3533 *lm3533;struct lm3533_als_platform_data *pdata;
drivers/iio/light/vcnl4000.c +1 -1
@@ -150,7 +150,7 @@ static const struct iio_info vcnl4000_info = { .driver_module = THIS_MODULE, }; -static int __devinit vcnl4000_probe (struct i2c_client *client, +static int vcnl4000_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct vcnl4000_data *data;
drivers/iio/magnetometer/hid-sensor-magn-3d.c +2 -2
@@ -279,7 +279,7 @@ static int magn_3d_parse_report(struct platform_device *pdev, }/* Function to initialize the processing for usage id */ -static int __devinit hid_magn_3d_probe (struct platform_device *pdev) +static int hid_magn_3d_probe (struct platform_device *pdev) {int ret =0 ;static char *name ="magn_3d" ;
@@ -376,7 +376,7 @@ error_ret: }/* Function to deinitialize the processing for usage id */ -static int __devinit hid_magn_3d_remove (struct platform_device *pdev) +static int hid_magn_3d_remove (struct platform_device *pdev) {struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;struct iio_dev *indio_dev =platform_get_drvdata (pdev);
Signature · 1 line
1.8.0
PATCH 211/493 hwrng: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/char/hw_random/bcm63xx-rng.c | 2 +- drivers/char/hw_random/exynos-rng.c | 2 +- drivers/char/hw_random/n2-drv.c | 4 ++-- drivers/char/hw_random/octeon-rng.c | 2 +- drivers/char/hw_random/omap-rng.c | 2 +- drivers/char/hw_random/pasemi-rng.c | 2 +- drivers/char/hw_random/ppc4xx-rng.c | 2 +- drivers/char/hw_random/timeriomem-rng.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-)
drivers/char/hw_random/bcm63xx-rng.c +1 -1
@@ -61,7 +61,7 @@ static int bcm63xx_rng_data_read(struct hwrng *rng, u32 *data)return 4 ; } -static int __devinit bcm63xx_rng_probe (struct platform_device *pdev) +static int bcm63xx_rng_probe (struct platform_device *pdev) {struct resource *r;struct clk *clk;
drivers/char/hw_random/exynos-rng.c +1 -1
@@ -101,7 +101,7 @@ static int exynos_read(struct hwrng *rng, void *buf,return 4 ; } -static int __devinit exynos_rng_probe (struct platform_device *pdev) +static int exynos_rng_probe (struct platform_device *pdev) {struct exynos_rng *exynos_rng;
drivers/char/hw_random/n2-drv.c +2 -2
@@ -611,7 +611,7 @@ static void n2rng_work(struct work_struct *work)schedule_delayed_work (&np->work,HZ *2 ); } -static void __devinit n2rng_driver_version (void ) +static void n2rng_driver_version (void ) {static int n2rng_version_printed;
@@ -620,7 +620,7 @@ static void __devinit n2rng_driver_version(void) }static const struct of_device_id n2rng_match[]; -static int __devinit n2rng_probe (struct platform_device *op) +static int n2rng_probe (struct platform_device *op) {const struct of_device_id *match;int multi_capable;
drivers/char/hw_random/octeon-rng.c +1 -1
@@ -56,7 +56,7 @@ static int octeon_rng_data_read(struct hwrng *rng, u32 *data)return sizeof (u32); } -static int __devinit octeon_rng_probe (struct platform_device *pdev) +static int octeon_rng_probe (struct platform_device *pdev) {struct resource *res_ports;struct resource *res_result;
drivers/char/hw_random/omap-rng.c +1 -1
@@ -104,7 +104,7 @@ static struct hwrng omap_rng_ops = { .data_read = omap_rng_data_read, }; -static int __devinit omap_rng_probe (struct platform_device *pdev) +static int omap_rng_probe (struct platform_device *pdev) {struct omap_rng_private_data *priv;int ret;
drivers/char/hw_random/pasemi-rng.c +1 -1
@@ -94,7 +94,7 @@ static struct hwrng pasemi_rng = { .data_read = pasemi_rng_data_read, }; -static int __devinit rng_probe (struct platform_device *ofdev) +static int rng_probe (struct platform_device *ofdev) {void __iomem *rng_regs;struct device_node *rng_np = ofdev->dev.of_node;
drivers/char/hw_random/ppc4xx-rng.c +1 -1
@@ -90,7 +90,7 @@ static struct hwrng ppc4xx_rng = { .data_read = ppc4xx_rng_data_read, }; -static int __devinit ppc4xx_rng_probe (struct platform_device *dev) +static int ppc4xx_rng_probe (struct platform_device *dev) {void __iomem *rng_regs;int err =0 ;
drivers/char/hw_random/timeriomem-rng.c +1 -1
@@ -88,7 +88,7 @@ static struct hwrng timeriomem_rng_ops = { .priv = 0, }; -static int __devinit timeriomem_rng_probe (struct platform_device *pdev) +static int timeriomem_rng_probe (struct platform_device *pdev) {struct resource *res;int ret;
Signature · 1 line
1.8.0
PATCH 214/493 drm: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/gpu/drm/ast/ast_drv.c | 2 +- drivers/gpu/drm/cirrus/cirrus_drv.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 +- drivers/gpu/drm/exynos/exynos_hdmi.c | 4 ++-- drivers/gpu/drm/exynos/exynos_mixer.c | 6 +++--- drivers/gpu/drm/i915/i915_drv.c | 2 +- drivers/gpu/drm/mgag200/mgag200_drv.c | 2 +- drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +- drivers/gpu/drm/radeon/radeon_drv.c | 2 +- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 6 +++--- 13 files changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/ast/ast_drv.c +1 -1
@@ -60,7 +60,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {MODULE_DEVICE_TABLE (pci, pciidlist); -static int __devinit +static int ast_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {return drm_get_pci_dev (pdev, ent, &driver);
drivers/gpu/drm/cirrus/cirrus_drv.c +1 -1
@@ -51,7 +51,7 @@ static void cirrus_kick_out_firmware_fb(struct pci_dev *pdev)kfree (ap); } -static int __devinit +static int cirrus_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {cirrus_kick_out_firmware_fb (pdev);
drivers/gpu/drm/exynos/exynos_drm_fimd.c +1 -1
@@ -828,7 +828,7 @@ static int fimd_activate(struct fimd_context *ctx, bool enable)return 0 ; } -static int __devinit fimd_probe (struct platform_device *pdev) +static int fimd_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct fimd_context *ctx;
drivers/gpu/drm/exynos/exynos_drm_g2d.c +1 -1
@@ -743,7 +743,7 @@ static void g2d_close(struct drm_device *drm_dev, struct device *dev,kfree (file_priv->g2d_priv); } -static int __devinit g2d_probe (struct platform_device *pdev) +static int g2d_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct resource *res;
drivers/gpu/drm/exynos/exynos_drm_hdmi.c +1 -1
@@ -349,7 +349,7 @@ static int hdmi_subdrv_probe(struct drm_device *drm_dev,return 0 ; } -static int __devinit exynos_drm_hdmi_probe (struct platform_device *pdev) +static int exynos_drm_hdmi_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct exynos_drm_subdrv *subdrv;
drivers/gpu/drm/exynos/exynos_drm_vidi.c +1 -1
@@ -631,7 +631,7 @@ int vidi_connection_ioctl(struct drm_device *drm_dev, void *data,return 0 ; } -static int __devinit vidi_probe (struct platform_device *pdev) +static int vidi_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct vidi_context *ctx;
drivers/gpu/drm/exynos/exynos_hdmi.c +2 -2
@@ -2149,7 +2149,7 @@ static irqreturn_t hdmi_internal_irq_thread(int irq, void *arg)return IRQ_HANDLED ; } -static int __devinit hdmi_resources_init (struct hdmi_context *hdata) +static int hdmi_resources_init (struct hdmi_context *hdata) {struct device *dev = hdata->dev;struct hdmi_resources *res = &hdata->res;
@@ -2315,7 +2315,7 @@ static struct of_device_id hdmi_match_types[] = { } }; -static int __devinit hdmi_probe (struct platform_device *pdev) +static int hdmi_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct exynos_drm_hdmi_context *drm_hdmi_ctx;
drivers/gpu/drm/exynos/exynos_mixer.c +3 -3
@@ -960,7 +960,7 @@ out:return IRQ_HANDLED ; } -static int __devinit mixer_resources_init (struct exynos_drm_hdmi_context *ctx, +static int mixer_resources_init (struct exynos_drm_hdmi_context *ctx,struct platform_device *pdev) {struct mixer_context *mixer_ctx = ctx->ctx;
@@ -1024,7 +1024,7 @@ fail:return ret; } -static int __devinit vp_resources_init (struct exynos_drm_hdmi_context *ctx, +static int vp_resources_init (struct exynos_drm_hdmi_context *ctx,struct platform_device *pdev) {struct mixer_context *mixer_ctx = ctx->ctx;
@@ -1113,7 +1113,7 @@ static struct of_device_id mixer_match_types[] = { } }; -static int __devinit mixer_probe (struct platform_device *pdev) +static int mixer_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct exynos_drm_hdmi_context *drm_hdmi_ctx;
drivers/gpu/drm/i915/i915_drv.c +1 -1
@@ -827,7 +827,7 @@ int i915_reset(struct drm_device *dev)return 0 ; } -static int __devinit +static int i915_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) { struct intel_device_info *intel_info =
drivers/gpu/drm/mgag200/mgag200_drv.c +1 -1
@@ -60,7 +60,7 @@ static void mgag200_kick_out_firmware_fb(struct pci_dev *pdev) } -static int __devinit +static int mga_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {mgag200_kick_out_firmware_fb (pdev);
drivers/gpu/drm/nouveau/nouveau_drm.c +1 -1
@@ -190,7 +190,7 @@ nouveau_accel_init(struct nouveau_drm *drm)nouveau_bo_move_init (drm); } -static int __devinit +static int nouveau_drm_probe (struct pci_dev *pdev,const struct pci_device_id *pent) {struct nouveau_device *device;
drivers/gpu/drm/radeon/radeon_drv.c +1 -1
@@ -297,7 +297,7 @@ static void radeon_kick_out_firmware_fb(struct pci_dev *pdev)kfree (ap); } -static int __devinit +static int radeon_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {/* Get rid of things like offb */
drivers/gpu/drm/shmobile/shmob_drm_drv.c +3 -3
@@ -33,7 +33,7 @@* Hardware initialization */ -static int __devinit shmob_drm_init_interface (struct shmob_drm_device *sdev) +static int shmob_drm_init_interface (struct shmob_drm_device *sdev) {static const u32 ldmt1r[] = { [SHMOB_DRM_IFACE_RGB8 ] =LDMT1R_MIFTYP_RGB8 ,
@@ -67,7 +67,7 @@ static int __devinit shmob_drm_init_interface(struct shmob_drm_device *sdev)return 0 ; } -static int __devinit shmob_drm_setup_clocks (struct shmob_drm_device *sdev, +static int shmob_drm_setup_clocks (struct shmob_drm_device *sdev,enum shmob_drm_clk_source clksrc) {struct clk *clk;
@@ -330,7 +330,7 @@ static const struct dev_pm_ops shmob_drm_pm_ops = {* Platform driver */ -static int __devinit shmob_drm_probe (struct platform_device *pdev) +static int shmob_drm_probe (struct platform_device *pdev) {return drm_platform_init (&shmob_drm_driver, pdev); }
Signature · 1 line
1.8.0
PATCH 215/493 drivers/macintosh: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/macintosh/macio_asic.c | 2 +- drivers/macintosh/mediabay.c | 2 +- drivers/macintosh/rack-meter.c | 6 +++--- drivers/macintosh/windfarm_ad7417_sensor.c | 8 ++++---- drivers/macintosh/windfarm_fcu_controls.c | 14 +++++++------- 5 files changed, 16 insertions(+), 16 deletions(-)
drivers/macintosh/macio_asic.c +1 -1
@@ -679,7 +679,7 @@ void macio_release_resources(struct macio_dev *dev)#ifdef CONFIG_PCI -static int __devinit macio_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) +static int macio_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct device_node * np;struct macio_chip * chip;
drivers/macintosh/mediabay.c +1 -1
@@ -556,7 +556,7 @@ static int media_bay_task(void *x)return 0 ; } -static int __devinit media_bay_attach (struct macio_dev *mdev,const struct of_device_id *match) +static int media_bay_attach (struct macio_dev *mdev,const struct of_device_id *match) {struct media_bay_info * bay;u32 __iomem *regbase;
drivers/macintosh/rack-meter.c +3 -3
@@ -253,7 +253,7 @@ static void rackmeter_do_timer(struct work_struct *work) msecs_to_jiffies(CPU_SAMPLING_RATE)); } -static void __devinit rackmeter_init_cpu_sniffer (struct rackmeter *rm) +static void rackmeter_init_cpu_sniffer (struct rackmeter *rm) {unsigned int cpu;
@@ -287,7 +287,7 @@ static void rackmeter_stop_cpu_sniffer(struct rackmeter *rm)cancel_delayed_work_sync (&rm->cpu[1 ].sniffer); } -static int __devinit rackmeter_setup (struct rackmeter *rm) +static int rackmeter_setup (struct rackmeter *rm) {pr_debug ("rackmeter: setting up i2s..\n" );rackmeter_setup_i2s (rm);
@@ -362,7 +362,7 @@ static irqreturn_t rackmeter_irq(int irq, void *arg)return IRQ_HANDLED ; } -static int __devinit rackmeter_probe (struct macio_dev * mdev, +static int rackmeter_probe (struct macio_dev * mdev,const struct of_device_id *match) {struct device_node *i2s =NULL , *np =NULL ;
drivers/macintosh/windfarm_ad7417_sensor.c +4 -4
@@ -177,7 +177,7 @@ static const struct wf_sensor_ops wf_ad7417_adc_ops = { .owner = THIS_MODULE, }; -static void __devinit wf_ad7417_add_sensor (struct wf_ad7417_priv *pv, +static void wf_ad7417_add_sensor (struct wf_ad7417_priv *pv,int index,const char *name,const struct wf_sensor_ops *ops) {
@@ -188,7 +188,7 @@ static void __devinit wf_ad7417_add_sensor(struct wf_ad7417_priv *pv,kref_get (&pv->ref); } -static void __devinit wf_ad7417_init_chip (struct wf_ad7417_priv *pv) +static void wf_ad7417_init_chip (struct wf_ad7417_priv *pv) {int rc;u8 buf[2 ];
@@ -230,7 +230,7 @@ static void __devinit wf_ad7417_init_chip(struct wf_ad7417_priv *pv) pv->config = config; } -static int __devinit wf_ad7417_probe (struct i2c_client *client, +static int wf_ad7417_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct wf_ad7417_priv *pv;
@@ -322,7 +322,7 @@ static struct i2c_driver wf_ad7417_driver = { .id_table = wf_ad7417_id, }; -static int __devinit wf_ad7417_init (void ) +static int wf_ad7417_init (void ) {/* This is only supported on these machines */ if (!of_machine_is_compatible("PowerMac7,2") &&
drivers/macintosh/windfarm_fcu_controls.c +7 -7
@@ -282,7 +282,7 @@ static const struct wf_control_ops wf_fcu_fan_pwm_ops = { .owner = THIS_MODULE, }; -static void __devinit wf_fcu_get_pump_minmax (struct wf_fcu_fan *fan) +static void wf_fcu_get_pump_minmax (struct wf_fcu_fan *fan) {const struct mpu_data *mpu =wf_get_mpu (0 );u16 pump_min =0 , pump_max =0xffff ;
@@ -317,7 +317,7 @@ static void __devinit wf_fcu_get_pump_minmax(struct wf_fcu_fan *fan) fan->ctrl.name, pump_min, pump_max); } -static void __devinit wf_fcu_get_rpmfan_minmax (struct wf_fcu_fan *fan) +static void wf_fcu_get_rpmfan_minmax (struct wf_fcu_fan *fan) {struct wf_fcu_priv *pv = fan->fcu_priv;const struct mpu_data *mpu0 =wf_get_mpu (0 );
@@ -359,7 +359,7 @@ static void __devinit wf_fcu_get_rpmfan_minmax(struct wf_fcu_fan *fan) fan->ctrl.name, fan->min, fan->max); } -static void __devinit wf_fcu_add_fan (struct wf_fcu_priv *pv, +static void wf_fcu_add_fan (struct wf_fcu_priv *pv,const char *name,int type,int id) {
@@ -399,7 +399,7 @@ static void __devinit wf_fcu_add_fan(struct wf_fcu_priv *pv,kref_get (&pv->ref); } -static void __devinit wf_fcu_lookup_fans (struct wf_fcu_priv *pv) +static void wf_fcu_lookup_fans (struct wf_fcu_priv *pv) {/* Translation of device-tree location properties to * windfarm fan names
@@ -481,7 +481,7 @@ static void __devinit wf_fcu_lookup_fans(struct wf_fcu_priv *pv) } } -static void __devinit wf_fcu_default_fans (struct wf_fcu_priv *pv) +static void wf_fcu_default_fans (struct wf_fcu_priv *pv) {/* We only support the default fans for PowerMac7,2 */ if (!of_machine_is_compatible ("PowerMac7,2" ))
@@ -496,7 +496,7 @@ static void __devinit wf_fcu_default_fans(struct wf_fcu_priv *pv)wf_fcu_add_fan (pv,"cpu-rear-fan-1" ,FCU_FAN_RPM ,6 ); } -static int __devinit wf_fcu_init_chip (struct wf_fcu_priv *pv) +static int wf_fcu_init_chip (struct wf_fcu_priv *pv) {unsigned char buf =0xff ;int rc;
@@ -518,7 +518,7 @@ static int __devinit wf_fcu_init_chip(struct wf_fcu_priv *pv)return 0 ; } -static int __devinit wf_fcu_probe (struct i2c_client *client, +static int wf_fcu_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct wf_fcu_priv *pv;
Signature · 1 line
1.8.0
PATCH 217/493 acpi: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/acpi/apei/ghes.c | 2 +- drivers/acpi/hed.c | 2 +- drivers/acpi/pci_root.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/acpi/apei/ghes.c +1 -1
@@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size(return prealloc_size; } -static int __devinit ghes_probe (struct platform_device *ghes_dev) +static int ghes_probe (struct platform_device *ghes_dev) {struct acpi_hest_generic *generic;struct ghes *ghes =NULL ;
drivers/acpi/hed.c +1 -1
@@ -61,7 +61,7 @@ static void acpi_hed_notify(struct acpi_device *device, u32 event)blocking_notifier_call_chain (&acpi_hed_notify_list,0 ,NULL ); } -static int __devinit acpi_hed_add (struct acpi_device *device) +static int acpi_hed_add (struct acpi_device *device) {/* Only one hardware error device */ if (hed_handle)
drivers/acpi/pci_root.c +1 -1
@@ -445,7 +445,7 @@ out: }EXPORT_SYMBOL (acpi_pci_osc_control_set); -static int __devinit acpi_pci_root_add (struct acpi_device *device) +static int acpi_pci_root_add (struct acpi_device *device) {unsigned long long segment, bus;acpi_status status;
Signature · 1 line
1.8.0
Rafael J. Wysocki
AppliedRe: [PATCH 217/493] acpi: remove use of __devinit
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.
Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
Thanks,
Rafael
Quoted 48 lines
Signed-off-by Bill Pemberton <[email protected]>--- drivers/acpi/apei/ghes.c | 2 +- drivers/acpi/hed.c | 2 +- drivers/acpi/pci_root.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)drivers/acpi/apei/ghes.c +1
-1@@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size(return prealloc_size; } -static int __devinit ghes_probe (struct platform_device *ghes_dev) +static int ghes_probe (struct platform_device *ghes_dev) {struct acpi_hest_generic *generic;struct ghes *ghes =NULL ;drivers/acpi/hed.c +1
-1@@ -61,7 +61,7 @@ static void acpi_hed_notify(struct acpi_device *device, u32 event)blocking_notifier_call_chain (&acpi_hed_notify_list,0 ,NULL ); } -static int __devinit acpi_hed_add (struct acpi_device *device) +static int acpi_hed_add (struct acpi_device *device) {/* Only one hardware error device */ if (hed_handle)drivers/acpi/pci_root.c +1
-1@@ -445,7 +445,7 @@ out: }EXPORT_SYMBOL (acpi_pci_osc_control_set); -static int __devinit acpi_pci_root_add (struct acpi_device *device) +static int acpi_pci_root_add (struct acpi_device *device) {unsigned long long segment, bus;acpi_status status;
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Re: [PATCH 217/493] acpi: remove use of __devinit
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in acpi_pci_root_add() in my tree.
Thanks,
Rafael
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Greg KH
maintainerRe: [PATCH 217/493] acpi: remove use of __devinit
Quoted 9 lines · Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add()in my tree.
What kind of problems? If CONFIG_HOTPLUG is enabled __devinit defines away to nothing, so this shouldn't have broken anything.
thanks,
greg k-h
Re: [PATCH 217/493] acpi: remove use of __devinit
Quoted 6 lines · Greg KH
Quoted 5 lines · Rafael J. Wysocki
Quoted 4 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add()in my tree.What kind of problems? If
CONFIG_HOTPLUGis enabled__devinitdefines away to nothing, so this shouldn't have broken anything.
It did, because there's a dependency on PCI, so I would need to merge the PCI patch along with the ACPI one, but I couldn't find the PCI one, so I dropped the ACPI one too.
And the fact that the author doesn't seem to care is not encouraging.
Thanks,
Rafael
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Greg KH
maintainerRe: [PATCH 217/493] acpi: remove use of __devinit
Quoted 12 lines · Rafael J. Wysocki
Quoted 11 lines · Greg KH
Quoted 9 lines · Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add()in my tree.
Quoted 6 lines
Quoted 2 lines
What kind of problems? If
CONFIG_HOTPLUGis enabled__devinitdefines away to nothing, so this shouldn't have broken anything.It did, because there's a dependency on PCI, so I would need to merge the PCI patch along with the ACPI one, but I couldn't find the PCI one, so I dropped the ACPI one too.
Ah, ok, that makes sense. I will be including the PCI ones in my tree soon, once I get Bjorn's ack.
Quoted 1 line
And the fact that the author doesn't seem to care is not encouraging.
He does, he's just swamped with real-work at the moment :(
greg k-h
Re: [PATCH 217/493] acpi: remove use of __devinit
Quoted 16 lines · Greg KH
Quoted 15 lines · Rafael J. Wysocki
Quoted 13 lines · Greg KH
Quoted 9 lines · Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add()in my tree.What kind of problems? If
CONFIG_HOTPLUGis enabled__devinitdefines away to nothing, so this shouldn't have broken anything.
Quoted 6 lines
Quoted 3 lines
It did, because there's a dependency on PCI, so I would need to merge the PCI patch along with the ACPI one, but I couldn't find the PCI one, so I dropped the ACPI one too.
Ah, ok, that makes sense. I will be including the PCI ones in my tree soon, once I get Bjorn's ack.
So perhaps you can take this one too? :-)
Please regard it as acked.
Thanks,
Rafael
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Greg KH
maintainerRe: [PATCH 217/493] acpi: remove use of __devinit
Quoted 17 lines · Rafael J. Wysocki
Quoted 16 lines · Greg KH
Quoted 15 lines · Rafael J. Wysocki
Quoted 13 lines · Greg KH
Quoted 9 lines · Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add()in my tree.What kind of problems? If
CONFIG_HOTPLUGis enabled__devinitdefines away to nothing, so this shouldn't have broken anything.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
It did, because there's a dependency on PCI, so I would need to merge the PCI patch along with the ACPI one, but I couldn't find the PCI one, so I dropped the ACPI one too.
Ah, ok, that makes sense. I will be including the PCI ones in my tree soon, once I get Bjorn's ack.
So perhaps you can take this one too? :-)
I will be glad to do so.
Quoted 1 line
Please regard it as acked.
Thanks, will do.
greg k-h
Re: [PATCH 217/493] acpi: remove use of __devinit
In reply to Rafael J. WysockiQuoted 13 lines · Rafael J. Wysocki
Quoted 11 lines · Greg KH
Quoted 9 lines · Rafael J. Wysocki
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.
And dropped, because it causes build problems to happen in
acpi_pci_root_add()in my tree.
Quoted 9 lines
Quoted 2 lines
What kind of problems? If
CONFIG_HOTPLUGis enabled__devinitdefines away to nothing, so this shouldn't have broken anything.It did, because there's a dependency on PCI, so I would need to merge the PCI patch along with the ACPI one, but I couldn't find the PCI one, so I dropped the ACPI one too.
And the fact that the author doesn't seem to care is not encouraging.
What? Of course I care. I've been trying to address the problems as they come up. I apparently didn't jump on this particular one.
Signature · 1 line
Bill
PATCH 220/493 bcma: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/bcma/bcma_private.h | 6 +++--- drivers/bcma/driver_gmac_cmn.c | 2 +- drivers/bcma/driver_pci.c | 4 ++-- drivers/bcma/driver_pci_host.c | 8 ++++---- drivers/bcma/host_pci.c | 2 +- drivers/bcma/main.c | 2 +- include/linux/bcma/bcma_driver_gmac_cmn.h | 2 +- include/linux/bcma/bcma_driver_pci.h | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-)
drivers/bcma/bcma_private.h +3 -3
@@ -22,7 +22,7 @@struct bcma_bus ;/* main.c */ -int __devinit bcma_bus_register (struct bcma_bus *bus); +int bcma_bus_register (struct bcma_bus *bus);void bcma_bus_unregister (struct bcma_bus *bus); int __init bcma_bus_early_register(struct bcma_bus *bus, struct bcma_device *core_cc,
@@ -85,8 +85,8 @@ extern void __exit bcma_host_pci_exit(void);u32 bcma_pcie_read (struct bcma_drv_pci *pc,u32 address);#ifdef CONFIG_BCMA_DRIVER_PCI_HOSTMODE -bool __devinit bcma_core_pci_is_in_hostmode (struct bcma_drv_pci *pc); -void __devinit bcma_core_pci_hostmode_init (struct bcma_drv_pci *pc); +bool bcma_core_pci_is_in_hostmode (struct bcma_drv_pci *pc); +void bcma_core_pci_hostmode_init (struct bcma_drv_pci *pc);#endif /* CONFIG_BCMA_DRIVER_PCI_HOSTMODE */ #endif
drivers/bcma/driver_gmac_cmn.c +1 -1
@@ -8,7 +8,7 @@#include "bcma_private.h" #include <linux/bcma/bcma.h> -void __devinit bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn *gc) +void bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn *gc) {mutex_init (&gc->phy_mutex); }
drivers/bcma/driver_pci.c +2 -2
@@ -207,14 +207,14 @@ static void bcma_core_pci_config_fixup(struct bcma_drv_pci *pc)* Init. **************************************************/ -static void __devinit bcma_core_pci_clientmode_init (struct bcma_drv_pci *pc) +static void bcma_core_pci_clientmode_init (struct bcma_drv_pci *pc) {bcma_core_pci_fixcfg (pc);bcma_pcicore_serdes_workaround (pc);bcma_core_pci_config_fixup (pc); } -void __devinit bcma_core_pci_init (struct bcma_drv_pci *pc) +void bcma_core_pci_init (struct bcma_drv_pci *pc) {if (pc->setup_done)return ;
drivers/bcma/driver_pci_host.c +4 -4
@@ -24,7 +24,7 @@#define BCMA_PCI_SLOT_MAX 16#define PCI_CONFIG_SPACE_SIZE 256 -bool __devinit bcma_core_pci_is_in_hostmode (struct bcma_drv_pci *pc) +bool bcma_core_pci_is_in_hostmode (struct bcma_drv_pci *pc) {struct bcma_bus *bus = pc->core->bus;u16 chipid_top;
@@ -264,7 +264,7 @@ static int bcma_core_pci_hostmode_write_config(struct pci_bus *bus, }/* return cap_offset if requested capability exists in the PCI config space */ -static u8 __devinit bcma_find_pci_capability (struct bcma_drv_pci *pc, +static u8 bcma_find_pci_capability (struct bcma_drv_pci *pc,unsigned int dev,unsigned int func,u8 req_cap_id,unsigned char *buf,u32 *buflen)
@@ -334,7 +334,7 @@ static u8 __devinit bcma_find_pci_capability(struct bcma_drv_pci *pc,* Retry Status (CRS) Completion Status to software then * enable the feature. */ -static void __devinit bcma_core_pci_enable_crs (struct bcma_drv_pci *pc) +static void bcma_core_pci_enable_crs (struct bcma_drv_pci *pc) {struct bcma_bus *bus = pc->core->bus;u8 cap_ptr, root_ctrl, root_cap, dev;
@@ -381,7 +381,7 @@ static void __devinit bcma_core_pci_enable_crs(struct bcma_drv_pci *pc) } } -void __devinit bcma_core_pci_hostmode_init (struct bcma_drv_pci *pc) +void bcma_core_pci_hostmode_init (struct bcma_drv_pci *pc) {struct bcma_bus *bus = pc->core->bus;struct bcma_drv_pci_host *pc_host;
drivers/bcma/host_pci.c +1 -1
@@ -155,7 +155,7 @@ static const struct bcma_host_ops bcma_host_pci_ops = { .awrite32 = bcma_host_pci_awrite32, }; -static int __devinit bcma_host_pci_probe (struct pci_dev *dev, +static int bcma_host_pci_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct bcma_bus *bus;
drivers/bcma/main.c +1 -1
@@ -179,7 +179,7 @@ static void bcma_unregister_cores(struct bcma_bus *bus) } } -int __devinit bcma_bus_register (struct bcma_bus *bus) +int bcma_bus_register (struct bcma_bus *bus) {int err;struct bcma_device *core;
include/linux/bcma/bcma_driver_gmac_cmn.h +1 -1
@@ -92,7 +92,7 @@ struct bcma_drv_gmac_cmn {#define gmac_cmn_write32 (gc, offset, val) bcma_write32((gc)->core, offset, val)#ifdef CONFIG_BCMA_DRIVER_GMAC_CMN -extern void __devinit bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn *gc); +extern void bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn *gc);#else static inline void bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn *gc) { }#endif
include/linux/bcma/bcma_driver_pci.h +1 -1
@@ -214,7 +214,7 @@ struct bcma_drv_pci {#define pcicore_write16 (pc, offset, val) bcma_write16((pc)->core, offset, val)#define pcicore_write32 (pc, offset, val) bcma_write32((pc)->core, offset, val) -extern void __devinit bcma_core_pci_init (struct bcma_drv_pci *pc); +extern void bcma_core_pci_init (struct bcma_drv_pci *pc);extern int bcma_core_pci_irq_ctl (struct bcma_drv_pci *pc,struct bcma_device *core,bool enable);extern void bcma_core_pci_extend_L1timer (struct bcma_drv_pci *pc,bool extend);
Signature · 1 line
1.8.0
PATCH 222/493 char: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/char/ipmi/ipmi_si_intf.c | 24 ++++++++++++------------ drivers/char/ps3flash.c | 2 +- drivers/char/sonypi.c | 10 +++++----- drivers/char/tb0219.c | 2 +- drivers/char/virtio_console.c | 2 +- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 6 +++--- 6 files changed, 23 insertions(+), 23 deletions(-)
drivers/char/ipmi/ipmi_si_intf.c +12 -12
@@ -1836,7 +1836,7 @@ static int hotmod_handler(const char *val, struct kernel_param *kp)return rv; } -static int __devinit hardcode_find_bmc (void ) +static int hardcode_find_bmc (void ) {int ret = -ENODEV ;int i;
@@ -2023,7 +2023,7 @@ struct SPMITable {s8 spmi_id[1 ];/* A '\0' terminated array starts here. */ }; -static int __devinit try_init_spmi (struct SPMITable *spmi) +static int try_init_spmi (struct SPMITable *spmi) {struct smi_info *info;
@@ -2106,7 +2106,7 @@ static int __devinit try_init_spmi(struct SPMITable *spmi)return 0 ; } -static void __devinit spmi_find_bmc (void ) +static void spmi_find_bmc (void ) {acpi_status status;struct SPMITable *spmi;
@@ -2128,7 +2128,7 @@ static void __devinit spmi_find_bmc(void) } } -static int __devinit ipmi_pnp_probe (struct pnp_dev *dev, +static int ipmi_pnp_probe (struct pnp_dev *dev,const struct pnp_device_id *dev_id) {struct acpi_device *acpi_dev;
@@ -2258,7 +2258,7 @@ struct dmi_ipmi_data {u8 slave_addr; }; -static int __devinit decode_dmi (const struct dmi_header *dm, +static int decode_dmi (const struct dmi_header *dm,struct dmi_ipmi_data *dmi) {const u8 *data = (const u8 *)dm;
@@ -2320,7 +2320,7 @@ static int __devinit decode_dmi(const struct dmi_header *dm,return 0 ; } -static void __devinit try_init_dmi (struct dmi_ipmi_data *ipmi_data) +static void try_init_dmi (struct dmi_ipmi_data *ipmi_data) {struct smi_info *info;
@@ -2388,7 +2388,7 @@ static void __devinit try_init_dmi(struct dmi_ipmi_data *ipmi_data)kfree (info); } -static void __devinit dmi_find_bmc (void ) +static void dmi_find_bmc (void ) {const struct dmi_device *dev =NULL ;struct dmi_ipmi_data data;
@@ -2424,7 +2424,7 @@ static void ipmi_pci_cleanup(struct smi_info *info)pci_disable_device (pdev); } -static int __devinit ipmi_pci_probe_regspacing (struct smi_info *info) +static int ipmi_pci_probe_regspacing (struct smi_info *info) {if (info->si_type ==SI_KCS ) {unsigned char status;
@@ -2456,7 +2456,7 @@ static int __devinit ipmi_pci_probe_regspacing(struct smi_info *info)return DEFAULT_REGSPACING ; } -static int __devinit ipmi_pci_probe (struct pci_dev *pdev, +static int ipmi_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int rv;
@@ -2551,7 +2551,7 @@ static struct pci_driver ipmi_pci_driver = {#endif /* CONFIG_PCI */ static struct of_device_id ipmi_match[]; -static int __devinit ipmi_probe (struct platform_device *dev) +static int ipmi_probe (struct platform_device *dev) {#ifdef CONFIG_OF const struct of_device_id *match;
@@ -3059,7 +3059,7 @@ static __devinitdata struct ipmi_default_vals { .port = 0 } }; -static void __devinit default_find_bmc (void ) +static void default_find_bmc (void ) {struct smi_info *info;int i;
@@ -3359,7 +3359,7 @@ static int try_smi_init(struct smi_info *new_smi)return rv; } -static int __devinit init_ipmi_si (void ) +static int init_ipmi_si (void ) {int i;char *str;
drivers/char/ps3flash.c +1 -1
@@ -363,7 +363,7 @@ static struct miscdevice ps3flash_misc = { .fops = &ps3flash_fops, }; -static int __devinit ps3flash_probe (struct ps3_system_bus_device *_dev) +static int ps3flash_probe (struct ps3_system_bus_device *_dev) {struct ps3_storage_device *dev =to_ps3_storage_device (&_dev->core);struct ps3flash_private *priv;
drivers/char/sonypi.c +5 -5
@@ -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;
drivers/char/tb0219.c +1 -1
@@ -284,7 +284,7 @@ static void tb0219_pci_irq_init(void)vr41xx_set_irq_level (TB0219_PCI_SLOT3_PIN ,IRQ_LEVEL_LOW ); } -static int __devinit tb0219_probe (struct platform_device *dev) +static int tb0219_probe (struct platform_device *dev) {int retval;
drivers/char/virtio_console.c +1 -1
@@ -1848,7 +1848,7 @@ static void remove_controlq_data(struct ports_device *portdev)* config space to see how many ports the host has spawned. We * initialize each port found. */ -static int __devinit virtcons_probe (struct virtio_device *vdev) +static int virtcons_probe (struct virtio_device *vdev) {struct ports_device *portdev;int err;
drivers/char/xilinx_hwicap/xilinx_hwicap.c +3 -3
@@ -595,7 +595,7 @@ static const struct file_operations hwicap_fops = { .llseek = noop_llseek, }; -static int __devinit hwicap_setup (struct device *dev,int id, +static int hwicap_setup (struct device *dev,int id,const struct resource *regs_res,const struct hwicap_driver_config *config,const struct config_registers *config_regs)
@@ -740,7 +740,7 @@ static int __devexit hwicap_remove(struct device *dev) }#ifdef CONFIG_OF -static int __devinit hwicap_of_probe (struct platform_device *op, +static int hwicap_of_probe (struct platform_device *op,const struct hwicap_driver_config *config) {struct resource res;
@@ -786,7 +786,7 @@ static inline int hwicap_of_probe(struct platform_device *op,#endif /* CONFIG_OF */ static const struct of_device_id __devinitconst hwicap_of_match[]; -static int __devinit hwicap_drv_probe (struct platform_device *pdev) +static int hwicap_drv_probe (struct platform_device *pdev) {const struct of_device_id *match;struct resource *res;
Signature · 1 line
1.8.0
PATCH 222/493 char: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/char/ipmi/ipmi_si_intf.c | 24 ++++++++++++------------ drivers/char/ps3flash.c | 2 +- drivers/char/sonypi.c | 10 +++++----- drivers/char/tb0219.c | 2 +- drivers/char/virtio_console.c | 2 +- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 6 +++--- 6 files changed, 23 insertions(+), 23 deletions(-)
drivers/char/ipmi/ipmi_si_intf.c +12 -12
@@ -1836,7 +1836,7 @@ static int hotmod_handler(const char *val, struct kernel_param *kp)return rv; } -static int __devinit hardcode_find_bmc (void ) +static int hardcode_find_bmc (void ) {int ret = -ENODEV ;int i;
@@ -2023,7 +2023,7 @@ struct SPMITable {s8 spmi_id[1 ];/* A '\0' terminated array starts here. */ }; -static int __devinit try_init_spmi (struct SPMITable *spmi) +static int try_init_spmi (struct SPMITable *spmi) {struct smi_info *info;
@@ -2106,7 +2106,7 @@ static int __devinit try_init_spmi(struct SPMITable *spmi)return 0 ; } -static void __devinit spmi_find_bmc (void ) +static void spmi_find_bmc (void ) {acpi_status status;struct SPMITable *spmi;
@@ -2128,7 +2128,7 @@ static void __devinit spmi_find_bmc(void) } } -static int __devinit ipmi_pnp_probe (struct pnp_dev *dev, +static int ipmi_pnp_probe (struct pnp_dev *dev,const struct pnp_device_id *dev_id) {struct acpi_device *acpi_dev;
@@ -2258,7 +2258,7 @@ struct dmi_ipmi_data {u8 slave_addr; }; -static int __devinit decode_dmi (const struct dmi_header *dm, +static int decode_dmi (const struct dmi_header *dm,struct dmi_ipmi_data *dmi) {const u8 *data = (const u8 *)dm;
@@ -2320,7 +2320,7 @@ static int __devinit decode_dmi(const struct dmi_header *dm,return 0 ; } -static void __devinit try_init_dmi (struct dmi_ipmi_data *ipmi_data) +static void try_init_dmi (struct dmi_ipmi_data *ipmi_data) {struct smi_info *info;
@@ -2388,7 +2388,7 @@ static void __devinit try_init_dmi(struct dmi_ipmi_data *ipmi_data)kfree (info); } -static void __devinit dmi_find_bmc (void ) +static void dmi_find_bmc (void ) {const struct dmi_device *dev =NULL ;struct dmi_ipmi_data data;
@@ -2424,7 +2424,7 @@ static void ipmi_pci_cleanup(struct smi_info *info)pci_disable_device (pdev); } -static int __devinit ipmi_pci_probe_regspacing (struct smi_info *info) +static int ipmi_pci_probe_regspacing (struct smi_info *info) {if (info->si_type ==SI_KCS ) {unsigned char status;
@@ -2456,7 +2456,7 @@ static int __devinit ipmi_pci_probe_regspacing(struct smi_info *info)return DEFAULT_REGSPACING ; } -static int __devinit ipmi_pci_probe (struct pci_dev *pdev, +static int ipmi_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int rv;
@@ -2551,7 +2551,7 @@ static struct pci_driver ipmi_pci_driver = {#endif /* CONFIG_PCI */ static struct of_device_id ipmi_match[]; -static int __devinit ipmi_probe (struct platform_device *dev) +static int ipmi_probe (struct platform_device *dev) {#ifdef CONFIG_OF const struct of_device_id *match;
@@ -3059,7 +3059,7 @@ static __devinitdata struct ipmi_default_vals { .port = 0 } }; -static void __devinit default_find_bmc (void ) +static void default_find_bmc (void ) {struct smi_info *info;int i;
@@ -3359,7 +3359,7 @@ static int try_smi_init(struct smi_info *new_smi)return rv; } -static int __devinit init_ipmi_si (void ) +static int init_ipmi_si (void ) {int i;char *str;
drivers/char/ps3flash.c +1 -1
@@ -363,7 +363,7 @@ static struct miscdevice ps3flash_misc = { .fops = &ps3flash_fops, }; -static int __devinit ps3flash_probe (struct ps3_system_bus_device *_dev) +static int ps3flash_probe (struct ps3_system_bus_device *_dev) {struct ps3_storage_device *dev =to_ps3_storage_device (&_dev->core);struct ps3flash_private *priv;
drivers/char/sonypi.c +5 -5
@@ -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;
drivers/char/tb0219.c +1 -1
@@ -284,7 +284,7 @@ static void tb0219_pci_irq_init(void)vr41xx_set_irq_level (TB0219_PCI_SLOT3_PIN ,IRQ_LEVEL_LOW ); } -static int __devinit tb0219_probe (struct platform_device *dev) +static int tb0219_probe (struct platform_device *dev) {int retval;
drivers/char/virtio_console.c +1 -1
@@ -1848,7 +1848,7 @@ static void remove_controlq_data(struct ports_device *portdev)* config space to see how many ports the host has spawned. We * initialize each port found. */ -static int __devinit virtcons_probe (struct virtio_device *vdev) +static int virtcons_probe (struct virtio_device *vdev) {struct ports_device *portdev;int err;
drivers/char/xilinx_hwicap/xilinx_hwicap.c +3 -3
@@ -595,7 +595,7 @@ static const struct file_operations hwicap_fops = { .llseek = noop_llseek, }; -static int __devinit hwicap_setup (struct device *dev,int id, +static int hwicap_setup (struct device *dev,int id,const struct resource *regs_res,const struct hwicap_driver_config *config,const struct config_registers *config_regs)
@@ -740,7 +740,7 @@ static int __devexit hwicap_remove(struct device *dev) }#ifdef CONFIG_OF -static int __devinit hwicap_of_probe (struct platform_device *op, +static int hwicap_of_probe (struct platform_device *op,const struct hwicap_driver_config *config) {struct resource res;
@@ -786,7 +786,7 @@ static inline int hwicap_of_probe(struct platform_device *op,#endif /* CONFIG_OF */ static const struct of_device_id __devinitconst hwicap_of_match[]; -static int __devinit hwicap_drv_probe (struct platform_device *pdev) +static int hwicap_drv_probe (struct platform_device *pdev) {const struct of_device_id *match;struct resource *res;
Signature · 1 line
1.8.0
PATCH 223/493 clk: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/clk/clk-max77686.c | 2 +- drivers/clk/clk-twl6040.c | 2 +- drivers/clk/clk-wm831x.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/clk/clk-max77686.c +1 -1
@@ -143,7 +143,7 @@ static int max77686_clk_register(struct device *dev,return 0 ; } -static __devinit int max77686_clk_probe (struct platform_device *pdev) +static int max77686_clk_probe (struct platform_device *pdev) {struct max77686_dev *iodev =dev_get_drvdata (pdev->dev.parent);struct max77686_clk **max77686_clks;
drivers/clk/clk-twl6040.c +1 -1
@@ -78,7 +78,7 @@ static struct clk_init_data wm831x_clkout_init = { .flags = CLK_IS_ROOT, }; -static int __devinit twl6040_clk_probe (struct platform_device *pdev) +static int twl6040_clk_probe (struct platform_device *pdev) {struct twl6040 *twl6040 =dev_get_drvdata (pdev->dev.parent);struct twl6040_clk *clkdata;
drivers/clk/clk-wm831x.c +1 -1
@@ -350,7 +350,7 @@ static struct clk_init_data wm831x_clkout_init = { .flags = CLK_SET_RATE_PARENT, }; -static __devinit int wm831x_clk_probe (struct platform_device *pdev) +static int wm831x_clk_probe (struct platform_device *pdev) {struct wm831x *wm831x =dev_get_drvdata (pdev->dev.parent);struct wm831x_clk *clkdata;
Signature · 1 line
1.8.0
PATCH 223/493 clk: remove use of __devinit
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/452da906/attachment.sig>
PATCH 223/493 clk: remove use of __devinit
In reply to Bill PembertonQuoting Bill Pemberton (2012-11-19 10:22:52)
Quoted 7 lines
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Mike Turquette <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc patches at opensource.wolfsonmicro.com
Regards,
Mike
Quoted 47 lines
--- drivers/clk/clk-max77686.c | 2 +- drivers/clk/clk-twl6040.c | 2 +- drivers/clk/clk-wm831x.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)drivers/clk/clk-max77686.c +1
-1@@ -143,7 +143,7 @@ static int max77686_clk_register(struct device *dev,return 0 ; } -static __devinit int max77686_clk_probe (struct platform_device *pdev) +static int max77686_clk_probe (struct platform_device *pdev) {struct max77686_dev *iodev =dev_get_drvdata (pdev->dev.parent);struct max77686_clk **max77686_clks;drivers/clk/clk-twl6040.c +1
-1@@ -78,7 +78,7 @@ static struct clk_init_data wm831x_clkout_init = { .flags = CLK_IS_ROOT, }; -static int __devinit twl6040_clk_probe (struct platform_device *pdev) +static int twl6040_clk_probe (struct platform_device *pdev) {struct twl6040 *twl6040 =dev_get_drvdata (pdev->dev.parent);struct twl6040_clk *clkdata;drivers/clk/clk-wm831x.c +1
-1@@ -350,7 +350,7 @@ static struct clk_init_data wm831x_clkout_init = { .flags = CLK_SET_RATE_PARENT, }; -static __devinit int wm831x_clk_probe (struct platform_device *pdev) +static int wm831x_clk_probe (struct platform_device *pdev) {struct wm831x *wm831x =dev_get_drvdata (pdev->dev.parent);struct wm831x_clk *clkdata;Signature · 1 line
1.8.0
PATCH 225/493 crypto: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/crypto/atmel-aes.c | 2 +- drivers/crypto/atmel-sha.c | 2 +- drivers/crypto/atmel-tdes.c | 2 +- drivers/crypto/bfin_crc.c | 2 +- drivers/crypto/geode-aes.c | 2 +- drivers/crypto/hifn_795x.c | 2 +- drivers/crypto/n2_core.c | 26 +++++++++++++------------- drivers/crypto/nx/nx.c | 2 +- drivers/crypto/omap-sham.c | 2 +- drivers/crypto/picoxcell_crypto.c | 2 +- 10 files changed, 22 insertions(+), 22 deletions(-)
drivers/crypto/atmel-aes.c +1 -1
@@ -1036,7 +1036,7 @@ err_aes_algs:return err; } -static int __devinit atmel_aes_probe (struct platform_device *pdev) +static int atmel_aes_probe (struct platform_device *pdev) {struct atmel_aes_dev *aes_dd;struct aes_platform_data *pdata;
drivers/crypto/atmel-sha.c +1 -1
@@ -964,7 +964,7 @@ err_sha_algs:return err; } -static int __devinit atmel_sha_probe (struct platform_device *pdev) +static int atmel_sha_probe (struct platform_device *pdev) {struct atmel_sha_dev *sha_dd;struct device *dev = &pdev->dev;
drivers/crypto/atmel-tdes.c +1 -1
@@ -1053,7 +1053,7 @@ err_tdes_algs:return err; } -static int __devinit atmel_tdes_probe (struct platform_device *pdev) +static int atmel_tdes_probe (struct platform_device *pdev) {struct atmel_tdes_dev *tdes_dd;struct device *dev = &pdev->dev;
drivers/crypto/bfin_crc.c +1 -1
@@ -586,7 +586,7 @@ static int bfin_crypto_crc_suspend(struct platform_device *pdev, pm_message_t st* bfin_crypto_crc_probe - Initialize module * */ -static int __devinit bfin_crypto_crc_probe (struct platform_device *pdev) +static int bfin_crypto_crc_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct resource *res;
drivers/crypto/geode-aes.c +1 -1
@@ -513,7 +513,7 @@ geode_aes_remove(struct pci_dev *dev) } -static int __devinit +static int geode_aes_probe (struct pci_dev *dev,const struct pci_device_id *id) {int ret;
drivers/crypto/hifn_795x.c +1 -1
@@ -2561,7 +2561,7 @@ static void hifn_tasklet_callback(unsigned long data)hifn_process_queue (dev); } -static int __devinit hifn_probe (struct pci_dev *pdev,const struct pci_device_id *id) +static int hifn_probe (struct pci_dev *pdev,const struct pci_device_id *id) {int err, i;struct hifn_device *dev;
drivers/crypto/n2_core.c +13 -13
@@ -1388,7 +1388,7 @@ static int n2_cipher_cra_init(struct crypto_tfm *tfm)return 0 ; } -static int __devinit __n2_register_one_cipher (const struct n2_cipher_tmpl *tmpl) +static int __n2_register_one_cipher (const struct n2_cipher_tmpl *tmpl) {struct n2_cipher_alg *p =kzalloc (sizeof (*p),GFP_KERNEL );struct crypto_alg *alg;
@@ -1424,7 +1424,7 @@ static int __devinit __n2_register_one_cipher(const struct n2_cipher_tmpl *tmpl)return err; } -static int __devinit __n2_register_one_hmac (struct n2_ahash_alg *n2ahash) +static int __n2_register_one_hmac (struct n2_ahash_alg *n2ahash) {struct n2_hmac_alg *p =kzalloc (sizeof (*p),GFP_KERNEL );struct ahash_alg *ahash;
@@ -1462,7 +1462,7 @@ static int __devinit __n2_register_one_hmac(struct n2_ahash_alg *n2ahash)return err; } -static int __devinit __n2_register_one_ahash (const struct n2_hash_tmpl *tmpl) +static int __n2_register_one_ahash (const struct n2_hash_tmpl *tmpl) {struct n2_ahash_alg *p =kzalloc (sizeof (*p),GFP_KERNEL );struct hash_alg_common *halg;
@@ -1517,7 +1517,7 @@ static int __devinit __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl)return err; } -static int __devinit n2_register_algs (void ) +static int n2_register_algs (void ) {int i, err =0 ;
@@ -1822,7 +1822,7 @@ static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dereturn err; } -static int __devinit get_irq_props (struct mdesc_handle *mdesc,u64 node, +static int get_irq_props (struct mdesc_handle *mdesc,u64 node,struct spu_mdesc_info *ip) {const u64 *ino;
@@ -1851,7 +1851,7 @@ static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,return 0 ; } -static int __devinit grab_mdesc_irq_props (struct mdesc_handle *mdesc, +static int grab_mdesc_irq_props (struct mdesc_handle *mdesc,struct platform_device *dev,struct spu_mdesc_info *ip,const char *node_name)
@@ -1883,7 +1883,7 @@ static int __devinit grab_mdesc_irq_props(struct mdesc_handle *mdesc,static unsigned long n2_spu_hvapi_major;static unsigned long n2_spu_hvapi_minor; -static int __devinit n2_spu_hvapi_register (void ) +static int n2_spu_hvapi_register (void ) {int err;
@@ -1909,7 +1909,7 @@ static void n2_spu_hvapi_unregister(void)static int global_ref; -static int __devinit grab_global_resources (void ) +static int grab_global_resources (void ) {int err =0 ;
@@ -1973,7 +1973,7 @@ static void release_global_resources(void)mutex_unlock (&spu_lock); } -static struct n2_crypto *__devinit alloc_n2cp (void ) +static struct n2_crypto *alloc_n2cp (void ) {struct n2_crypto *np =kzalloc (sizeof (struct n2_crypto ),GFP_KERNEL );
@@ -1993,7 +1993,7 @@ static void free_n2cp(struct n2_crypto *np)kfree (np); } -static void __devinit n2_spu_driver_version (void ) +static void n2_spu_driver_version (void ) {static int n2_spu_version_printed;
@@ -2001,7 +2001,7 @@ static void __devinit n2_spu_driver_version(void)pr_info ("%s" , version); } -static int __devinit n2_crypto_probe (struct platform_device *dev) +static int n2_crypto_probe (struct platform_device *dev) {struct mdesc_handle *mdesc;const char *full_name;
@@ -2092,7 +2092,7 @@ static int __devexit n2_crypto_remove(struct platform_device *dev)return 0 ; } -static struct n2_mau *__devinit alloc_ncp (void ) +static struct n2_mau *alloc_ncp (void ) {struct n2_mau *mp =kzalloc (sizeof (struct n2_mau ),GFP_KERNEL );
@@ -2112,7 +2112,7 @@ static void free_ncp(struct n2_mau *mp)kfree (mp); } -static int __devinit n2_mau_probe (struct platform_device *dev) +static int n2_mau_probe (struct platform_device *dev) {struct mdesc_handle *mdesc;const char *full_name;
drivers/crypto/nx/nx.c +1 -1
@@ -634,7 +634,7 @@ void nx_crypto_ctx_exit(struct crypto_tfm *tfm) nx_ctx->out_sg =NULL ; } -static int __devinit nx_probe (struct vio_dev *viodev, +static int nx_probe (struct vio_dev *viodev,const struct vio_device_id *id) { dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n",
drivers/crypto/omap-sham.c +1 -1
@@ -1137,7 +1137,7 @@ static void omap_sham_dma_cleanup(struct omap_sham_dev *dd) } } -static int __devinit omap_sham_probe (struct platform_device *pdev) +static int omap_sham_probe (struct platform_device *pdev) {struct omap_sham_dev *dd;struct device *dev = &pdev->dev;
drivers/crypto/picoxcell_crypto.c +1 -1
@@ -1708,7 +1708,7 @@ static bool spacc_is_compatible(struct platform_device *pdev,return false; } -static int __devinit spacc_probe (struct platform_device *pdev) +static int spacc_probe (struct platform_device *pdev) {int i, err, ret = -EINVAL ;struct resource *mem, *irq;
Signature · 1 line
1.8.0
PATCH 226/493 dma: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/dma/dw_dmac.c | 4 ++-- drivers/dma/edma.c | 2 +- drivers/dma/fsldma.c | 4 ++-- drivers/dma/intel_mid_dma.c | 2 +- drivers/dma/iop-adma.c | 8 ++++---- drivers/dma/mmp_pdma.c | 4 ++-- drivers/dma/mmp_tdma.c | 4 ++-- drivers/dma/mpc512x_dma.c | 2 +- drivers/dma/mv_xor.c | 6 +++--- drivers/dma/pch_dma.c | 2 +- drivers/dma/pl330.c | 2 +- drivers/dma/ppc4xx/adma.c | 2 +- drivers/dma/sa11x0-dma.c | 4 ++-- drivers/dma/sh/shdma.c | 4 ++-- drivers/dma/sirf-dma.c | 2 +- drivers/dma/tegra20-apb-dma.c | 2 +- drivers/dma/timb_dma.c | 2 +- 17 files changed, 28 insertions(+), 28 deletions(-)
drivers/dma/dw_dmac.c +2 -2
@@ -1502,7 +1502,7 @@ static void dw_dma_off(struct dw_dma *dw)#ifdef CONFIG_OF static struct dw_dma_platform_data * -__devinit dw_dma_parse_dt (struct platform_device *pdev) +dw_dma_parse_dt (struct platform_device *pdev) {struct device_node *sn, *cn, *np = pdev->dev.of_node;struct dw_dma_platform_data *pdata;
@@ -1585,7 +1585,7 @@ dw_dma_parse_dt(struct platform_device *pdev) }#endif -static int __devinit dw_probe (struct platform_device *pdev) +static int dw_probe (struct platform_device *pdev) {struct dw_dma_platform_data *pdata;struct resource *io;
drivers/dma/edma.c +1 -1
@@ -545,7 +545,7 @@ static void edma_dma_init(struct edma_cc *ecc, struct dma_device *dma,INIT_LIST_HEAD (&dma->channels); } -static int __devinit edma_probe (struct platform_device *pdev) +static int edma_probe (struct platform_device *pdev) {struct edma_cc *ecc;int ret;
drivers/dma/fsldma.c +2 -2
@@ -1221,7 +1221,7 @@ out_unwind:/* OpenFirmware Subsystem */ /*----------------------------------------------------------------------------*/ -static int __devinit fsl_dma_chan_probe (struct fsldma_device *fdev, +static int fsl_dma_chan_probe (struct fsldma_device *fdev,struct device_node *node,u32 feature,const char *compatible) {struct fsldma_chan *chan;
@@ -1324,7 +1324,7 @@ static void fsl_dma_chan_remove(struct fsldma_chan *chan)kfree (chan); } -static int __devinit fsldma_of_probe (struct platform_device *op) +static int fsldma_of_probe (struct platform_device *op) {struct fsldma_device *fdev;struct device_node *child;
drivers/dma/intel_mid_dma.c +1 -1
@@ -1225,7 +1225,7 @@ static void middma_shutdown(struct pci_dev *pdev)* Initialize the PCI device, map BARs, query driver data. * Call setup_dma to complete contoller and chan initilzation */ -static int __devinit intel_mid_dma_probe (struct pci_dev *pdev, +static int intel_mid_dma_probe (struct pci_dev *pdev,const struct pci_device_id *id) {struct middma_device *device;
drivers/dma/iop-adma.c +4 -4
@@ -968,7 +968,7 @@ static void iop_adma_issue_pending(struct dma_chan *chan)*/ #define IOP_ADMA_TEST_SIZE 2000 -static int __devinit iop_adma_memcpy_self_test (struct iop_adma_device *device) +static int iop_adma_memcpy_self_test (struct iop_adma_device *device) {int i;void *src, *dest;
@@ -1042,7 +1042,7 @@ out: }#define IOP_ADMA_NUM_SRC_TEST 4/* must be <= 15 */ -static int __devinit +static int iop_adma_xor_val_self_test (struct iop_adma_device *device) {int i, src_idx;
@@ -1243,7 +1243,7 @@ out: }#ifdef CONFIG_RAID6_PQ -static int __devinit +static int iop_adma_pq_zero_sum_self_test (struct iop_adma_device *device) {/* combined sources, software pq results, and extra hw pq results */
@@ -1429,7 +1429,7 @@ static int __devexit iop_adma_remove(struct platform_device *dev)return 0 ; } -static int __devinit iop_adma_probe (struct platform_device *pdev) +static int iop_adma_probe (struct platform_device *pdev) {struct resource *res;int ret =0 , i;
drivers/dma/mmp_pdma.c +2 -2
@@ -720,7 +720,7 @@ static int __devexit mmp_pdma_remove(struct platform_device *op)return 0 ; } -static int __devinit mmp_pdma_chan_init (struct mmp_pdma_device *pdev, +static int mmp_pdma_chan_init (struct mmp_pdma_device *pdev,int idx,int irq) {struct mmp_pdma_phy *phy = &pdev->phy[idx];
@@ -764,7 +764,7 @@ static struct of_device_id mmp_pdma_dt_ids[] = { };MODULE_DEVICE_TABLE (of, mmp_pdma_dt_ids); -static int __devinit mmp_pdma_probe (struct platform_device *op) +static int mmp_pdma_probe (struct platform_device *op) {struct mmp_pdma_device *pdev;const struct of_device_id *of_id;
drivers/dma/mmp_tdma.c +2 -2
@@ -475,7 +475,7 @@ static int __devexit mmp_tdma_remove(struct platform_device *pdev)return 0 ; } -static int __devinit mmp_tdma_chan_init (struct mmp_tdma_device *tdev, +static int mmp_tdma_chan_init (struct mmp_tdma_device *tdev,int idx,int irq,int type) {struct mmp_tdma_chan *tdmac;
@@ -515,7 +515,7 @@ static struct of_device_id mmp_tdma_dt_ids[] = { };MODULE_DEVICE_TABLE (of, mmp_tdma_dt_ids); -static int __devinit mmp_tdma_probe (struct platform_device *pdev) +static int mmp_tdma_probe (struct platform_device *pdev) {enum mmp_tdma_type type;const struct of_device_id *of_id;
drivers/dma/mpc512x_dma.c +1 -1
@@ -641,7 +641,7 @@ mpc_dma_prep_memcpy(struct dma_chan *chan, dma_addr_t dst, dma_addr_t src,return &mdesc->desc; } -static int __devinit mpc_dma_probe (struct platform_device *op) +static int mpc_dma_probe (struct platform_device *op) {struct device_node *dn = op->dev.of_node;struct device *dev = &op->dev;
drivers/dma/mv_xor.c +3 -3
@@ -895,7 +895,7 @@ static void mv_xor_issue_pending(struct dma_chan *chan)*/ #define MV_XOR_TEST_SIZE 2000 -static int __devinit mv_xor_memcpy_self_test (struct mv_xor_device *device) +static int mv_xor_memcpy_self_test (struct mv_xor_device *device) {int i;void *src, *dest;
@@ -969,7 +969,7 @@ out: }#define MV_XOR_NUM_SRC_TEST 4/* must be <= 15 */ -static int __devinit +static int mv_xor_xor_self_test (struct mv_xor_device *device) {int i, src_idx;
@@ -1093,7 +1093,7 @@ static int __devexit mv_xor_remove(struct platform_device *dev)return 0 ; } -static int __devinit mv_xor_probe (struct platform_device *pdev) +static int mv_xor_probe (struct platform_device *pdev) {int ret =0 ;int irq;
drivers/dma/pch_dma.c +1 -1
@@ -843,7 +843,7 @@ static int pch_dma_resume(struct pci_dev *pdev) }#endif -static int __devinit pch_dma_probe (struct pci_dev *pdev, +static int pch_dma_probe (struct pci_dev *pdev,const struct pci_device_id *id) {struct pch_dma *pd;
drivers/dma/pl330.c +1 -1
@@ -2851,7 +2851,7 @@ static irqreturn_t pl330_irq_handler(int irq, void *data)return IRQ_NONE ; } -static int __devinit +static int pl330_probe (struct amba_device *adev,const struct amba_id *id) {struct dma_pl330_platdata *pdat;
drivers/dma/ppc4xx/adma.c +1 -1
@@ -4361,7 +4361,7 @@ static void ppc440spe_adma_release_irqs(struct ppc440spe_adma_device *adev,/** * ppc440spe_adma_probe - probe the asynch device */ -static int __devinit ppc440spe_adma_probe (struct platform_device *ofdev) +static int ppc440spe_adma_probe (struct platform_device *ofdev) {struct device_node *np = ofdev->dev.of_node;struct resource res;
drivers/dma/sa11x0-dma.c +2 -2
@@ -826,7 +826,7 @@ static const struct sa11x0_dma_channel_desc chan_desc[] = { CD(Ser4SSPRc, DDAR_RW), }; -static int __devinit sa11x0_dma_init_dmadev (struct dma_device *dmadev, +static int sa11x0_dma_init_dmadev (struct dma_device *dmadev,struct device *dev) {unsigned i;
@@ -891,7 +891,7 @@ static void sa11x0_dma_free_channels(struct dma_device *dmadev) } } -static int __devinit sa11x0_dma_probe (struct platform_device *pdev) +static int sa11x0_dma_probe (struct platform_device *pdev) {struct sa11x0_dma_dev *d;struct resource *res;
drivers/dma/sh/shdma.c +2 -2
@@ -483,7 +483,7 @@ static struct notifier_block sh_dmae_nmi_notifier __read_mostly = { .priority = 1, }; -static int __devinit sh_dmae_chan_probe (struct sh_dmae_device *shdev,int id, +static int sh_dmae_chan_probe (struct sh_dmae_device *shdev,int id,int irq,unsigned long flags) {const struct sh_dmae_channel *chan_pdata = &shdev->pdata->channel[id];
@@ -646,7 +646,7 @@ static const struct shdma_ops sh_dmae_shdma_ops = { .get_partial = sh_dmae_get_partial, }; -static int __devinit sh_dmae_probe (struct platform_device *pdev) +static int sh_dmae_probe (struct platform_device *pdev) {struct sh_dmae_pdata *pdata = pdev->dev.platform_data; unsigned long irqflags = IRQF_DISABLED,
drivers/dma/sirf-dma.c +1 -1
@@ -550,7 +550,7 @@ bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id) }EXPORT_SYMBOL (sirfsoc_dma_filter_id); -static int __devinit sirfsoc_dma_probe (struct platform_device *op) +static int sirfsoc_dma_probe (struct platform_device *op) {struct device_node *dn = op->dev.of_node;struct device *dev = &op->dev;
drivers/dma/tegra20-apb-dma.c +1 -1
@@ -1197,7 +1197,7 @@ static const struct of_device_id tegra_dma_of_match[] __devinitconst = {MODULE_DEVICE_TABLE (of, tegra_dma_of_match);#endif -static int __devinit tegra_dma_probe (struct platform_device *pdev) +static int tegra_dma_probe (struct platform_device *pdev) {struct resource *res;struct tegra_dma *tdma;
drivers/dma/timb_dma.c +1 -1
@@ -667,7 +667,7 @@ static irqreturn_t td_irq(int irq, void *devid) } -static int __devinit td_probe (struct platform_device *pdev) +static int td_probe (struct platform_device *pdev) {struct timb_dma_platform_data *pdata = pdev->dev.platform_data;struct timb_dma *td;
Signature · 1 line
1.8.0
viresh kumar
maintainerPATCH 226/493 dma: remove use of __devinit
Quoted 10 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.Signed-off-by Bill Pemberton <[email protected]>Cc Viresh Kumar <[email protected]>Cc Li Yang <[email protected]>Cc Zhang Wei <[email protected]>Cc Barry Song <[email protected]>Cc linuxppc-dev at lists.ozlabs.orgCc linux-arm-kernel at lists.infradead.org
Quoted 2 lines
--- drivers/dma/dw_dmac.c | 4 ++--
PATCH 227/493 edac: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/edac/amd64_edac.c | 2 +- drivers/edac/amd76x_edac.c | 2 +- drivers/edac/cell_edac.c | 4 ++-- drivers/edac/cpc925_edac.c | 2 +- drivers/edac/e752x_edac.c | 2 +- drivers/edac/e7xxx_edac.c | 2 +- drivers/edac/highbank_l2_edac.c | 2 +- drivers/edac/highbank_mc_edac.c | 6 +++--- drivers/edac/i3000_edac.c | 2 +- drivers/edac/i3200_edac.c | 2 +- drivers/edac/i5000_edac.c | 2 +- drivers/edac/i5100_edac.c | 14 +++++++------- drivers/edac/i5400_edac.c | 2 +- drivers/edac/i7300_edac.c | 4 ++-- drivers/edac/i7core_edac.c | 2 +- drivers/edac/i82443bxgx_edac.c | 2 +- drivers/edac/i82860_edac.c | 2 +- drivers/edac/i82875p_edac.c | 2 +- drivers/edac/i82975x_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 8 ++++---- drivers/edac/mv64x60_edac.c | 8 ++++---- drivers/edac/octeon_edac-l2c.c | 2 +- drivers/edac/octeon_edac-lmc.c | 2 +- drivers/edac/octeon_edac-pc.c | 2 +- drivers/edac/octeon_edac-pci.c | 2 +- drivers/edac/pasemi_edac.c | 2 +- drivers/edac/ppc4xx_edac.c | 14 +++++++------- drivers/edac/r82600_edac.c | 2 +- drivers/edac/sb_edac.c | 2 +- drivers/edac/tile_edac.c | 4 ++-- drivers/edac/x38_edac.c | 2 +- 31 files changed, 54 insertions(+), 54 deletions(-)
drivers/edac/amd64_edac.c +1 -1
@@ -2563,7 +2563,7 @@ err_ret:return ret; } -static int __devinit amd64_probe_one_instance (struct pci_dev *pdev, +static int amd64_probe_one_instance (struct pci_dev *pdev,const struct pci_device_id *mc_type) {u8 nid =get_node_id (pdev);
drivers/edac/amd76x_edac.c +1 -1
@@ -301,7 +301,7 @@ fail: }/* returns count (>= 0), or negative on error */ -static int __devinit amd76x_init_one (struct pci_dev *pdev, +static int amd76x_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {edac_dbg (0 ,"\n" );
drivers/edac/cell_edac.c +2 -2
@@ -124,7 +124,7 @@ static void cell_edac_check(struct mem_ctl_info *mci) } } -static void __devinit cell_edac_init_csrows (struct mem_ctl_info *mci) +static void cell_edac_init_csrows (struct mem_ctl_info *mci) {struct csrow_info *csrow = mci->csrows[0 ];struct dimm_info *dimm;
@@ -164,7 +164,7 @@ static void __devinit cell_edac_init_csrows(struct mem_ctl_info *mci) } } -static int __devinit cell_edac_probe (struct platform_device *pdev) +static int cell_edac_probe (struct platform_device *pdev) {struct cbe_mic_tm_regs __iomem *regs;struct mem_ctl_info *mci;
drivers/edac/cpc925_edac.c +1 -1
@@ -932,7 +932,7 @@ static int cpc925_mc_get_channels(void __iomem *vbase)return dual; } -static int __devinit cpc925_probe (struct platform_device *pdev) +static int cpc925_probe (struct platform_device *pdev) {static int edac_mc_idx;struct mem_ctl_info *mci;
drivers/edac/e752x_edac.c +1 -1
@@ -1390,7 +1390,7 @@ fail: }/* returns count (>= 0), or negative on error */ -static int __devinit e752x_init_one (struct pci_dev *pdev, +static int e752x_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {edac_dbg (0 ,"\n" );
drivers/edac/e7xxx_edac.c +1 -1
@@ -528,7 +528,7 @@ fail0: }/* returns count (>= 0), or negative on error */ -static int __devinit e7xxx_init_one (struct pci_dev *pdev, +static int e7xxx_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {edac_dbg (0 ,"\n" );
drivers/edac/highbank_l2_edac.c +1 -1
@@ -50,7 +50,7 @@ static irqreturn_t highbank_l2_err_handler(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit highbank_l2_err_probe (struct platform_device *pdev) +static int highbank_l2_err_probe (struct platform_device *pdev) {struct edac_device_ctl_info *dci;struct hb_l2_drvdata *drvdata;
drivers/edac/highbank_mc_edac.c +3 -3
@@ -119,7 +119,7 @@ static const struct file_operations highbank_mc_debug_inject_fops = { .llseek = generic_file_llseek, }; -static void __devinit highbank_mc_create_debugfs_nodes (struct mem_ctl_info *mci) +static void highbank_mc_create_debugfs_nodes (struct mem_ctl_info *mci) {if (mci->debugfs) debugfs_create_file("inject_ctrl", S_IWUSR, mci->debugfs, mci,
@@ -127,11 +127,11 @@ static void __devinit highbank_mc_create_debugfs_nodes(struct mem_ctl_info *mci) ; }#else -static void __devinit highbank_mc_create_debugfs_nodes (struct mem_ctl_info *mci) +static void highbank_mc_create_debugfs_nodes (struct mem_ctl_info *mci) {}#endif -static int __devinit highbank_mc_probe (struct platform_device *pdev) +static int highbank_mc_probe (struct platform_device *pdev) {struct edac_mc_layer layers[2 ];struct mem_ctl_info *mci;
drivers/edac/i3000_edac.c +1 -1
@@ -455,7 +455,7 @@ fail: }/* returns count (>= 0), or negative on error */ -static int __devinit i3000_init_one (struct pci_dev *pdev, +static int i3000_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
drivers/edac/i3200_edac.c +1 -1
@@ -419,7 +419,7 @@ fail:return rc; } -static int __devinit i3200_init_one (struct pci_dev *pdev, +static int i3200_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
drivers/edac/i5000_edac.c +1 -1
@@ -1489,7 +1489,7 @@ fail0:* negative on error * count (>= 0) */ -static int __devinit i5000_init_one (struct pci_dev *pdev, +static int i5000_init_one (struct pci_dev *pdev,const struct pci_device_id *id) {int rc;
drivers/edac/i5100_edac.c +7 -7
@@ -638,7 +638,7 @@ static struct pci_dev *pci_get_device_func(unsigned vendor,return ret; } -static unsigned long __devinit i5100_npages (struct mem_ctl_info *mci, +static unsigned long i5100_npages (struct mem_ctl_info *mci,int csrow) {struct i5100_priv *priv = mci->pvt_info;
@@ -660,7 +660,7 @@ static unsigned long __devinit i5100_npages(struct mem_ctl_info *mci, ((unsigned long long ) (1ULL << addr_lines) /PAGE_SIZE ); } -static void __devinit i5100_init_mtr (struct mem_ctl_info *mci) +static void i5100_init_mtr (struct mem_ctl_info *mci) {struct i5100_priv *priv = mci->pvt_info;struct pci_dev *mms[2 ] = { priv->ch0mm, priv->ch1mm };
@@ -732,7 +732,7 @@ static int i5100_read_spd_byte(const struct mem_ctl_info *mci,* o not the only way to may chip selects to dimm slots * o investigate if there is some way to obtain this map from the bios */ -static void __devinit i5100_init_dimm_csmap (struct mem_ctl_info *mci) +static void i5100_init_dimm_csmap (struct mem_ctl_info *mci) {struct i5100_priv *priv = mci->pvt_info;int i;
@@ -762,7 +762,7 @@ static void __devinit i5100_init_dimm_csmap(struct mem_ctl_info *mci) } } -static void __devinit i5100_init_dimm_layout (struct pci_dev *pdev, +static void i5100_init_dimm_layout (struct pci_dev *pdev,struct mem_ctl_info *mci) {struct i5100_priv *priv = mci->pvt_info;
@@ -784,7 +784,7 @@ static void __devinit i5100_init_dimm_layout(struct pci_dev *pdev,i5100_init_dimm_csmap (mci); } -static void __devinit i5100_init_interleaving (struct pci_dev *pdev, +static void i5100_init_interleaving (struct pci_dev *pdev,struct mem_ctl_info *mci) {u16 w;
@@ -830,7 +830,7 @@ static void __devinit i5100_init_interleaving(struct pci_dev *pdev,i5100_init_mtr (mci); } -static void __devinit i5100_init_csrows (struct mem_ctl_info *mci) +static void i5100_init_csrows (struct mem_ctl_info *mci) {int i;struct i5100_priv *priv = mci->pvt_info;
@@ -864,7 +864,7 @@ static void __devinit i5100_init_csrows(struct mem_ctl_info *mci) } } -static int __devinit i5100_init_one (struct pci_dev *pdev, +static int i5100_init_one (struct pci_dev *pdev,const struct pci_device_id *id) {int rc;
drivers/edac/i5400_edac.c +1 -1
@@ -1373,7 +1373,7 @@ fail0:* negative on error * count (>= 0) */ -static int __devinit i5400_init_one (struct pci_dev *pdev, +static int i5400_init_one (struct pci_dev *pdev,const struct pci_device_id *id) {int rc;
drivers/edac/i7300_edac.c +2 -2
@@ -923,7 +923,7 @@ static void i7300_put_devices(struct mem_ctl_info *mci)* Device 21 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB0 * Device 22 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB1 */ -static int __devinit i7300_get_devices (struct mem_ctl_info *mci) +static int i7300_get_devices (struct mem_ctl_info *mci) {struct i7300_pvt *pvt;struct pci_dev *pdev;
@@ -1008,7 +1008,7 @@ error:* @pdev: struct pci_dev pointer * @id: struct pci_device_id pointer - currently unused */ -static int __devinit i7300_init_one (struct pci_dev *pdev, +static int i7300_init_one (struct pci_dev *pdev,const struct pci_device_id *id) {struct mem_ctl_info *mci;
drivers/edac/i7core_edac.c +1 -1
@@ -2305,7 +2305,7 @@ fail0:* < 0 for error code */ -static int __devinit i7core_probe (struct pci_dev *pdev, +static int i7core_probe (struct pci_dev *pdev,const struct pci_device_id *id) {int rc, count =0 ;
drivers/edac/i82443bxgx_edac.c +1 -1
@@ -353,7 +353,7 @@ fail:EXPORT_SYMBOL_GPL (i82443bxgx_edacmc_probe1);/* returns count (>= 0), or negative on error */ -static int __devinit i82443bxgx_edacmc_init_one (struct pci_dev *pdev, +static int i82443bxgx_edacmc_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
drivers/edac/i82860_edac.c +1 -1
@@ -254,7 +254,7 @@ fail: }/* returns count (>= 0), or negative on error */ -static int __devinit i82860_init_one (struct pci_dev *pdev, +static int i82860_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
drivers/edac/i82875p_edac.c +1 -1
@@ -479,7 +479,7 @@ fail0: }/* returns count (>= 0), or negative on error */ -static int __devinit i82875p_init_one (struct pci_dev *pdev, +static int i82875p_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
drivers/edac/i82975x_edac.c +1 -1
@@ -682,7 +682,7 @@ fail0: }/* returns count (>= 0), or negative on error */ -static int __devinit i82975x_init_one (struct pci_dev *pdev, +static int i82975x_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
drivers/edac/mpc85xx_edac.c +4 -4
@@ -212,7 +212,7 @@ static irqreturn_t mpc85xx_pci_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -int __devinit mpc85xx_pci_err_probe (struct platform_device *op) +int mpc85xx_pci_err_probe (struct platform_device *op) {struct edac_pci_ctl_info *pci;struct mpc85xx_pci_pdata *pdata;
@@ -504,7 +504,7 @@ static irqreturn_t mpc85xx_l2_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit mpc85xx_l2_err_probe (struct platform_device *op) +static int mpc85xx_l2_err_probe (struct platform_device *op) {struct edac_device_ctl_info *edac_dev;struct mpc85xx_l2_pdata *pdata;
@@ -885,7 +885,7 @@ static irqreturn_t mpc85xx_mc_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static void __devinit mpc85xx_init_csrows (struct mem_ctl_info *mci) +static void mpc85xx_init_csrows (struct mem_ctl_info *mci) {struct mpc85xx_mc_pdata *pdata = mci->pvt_info;struct csrow_info *csrow;
@@ -964,7 +964,7 @@ static void __devinit mpc85xx_init_csrows(struct mem_ctl_info *mci) } } -static int __devinit mpc85xx_mc_err_probe (struct platform_device *op) +static int mpc85xx_mc_err_probe (struct platform_device *op) {struct mem_ctl_info *mci;struct edac_mc_layer layers[2 ];
drivers/edac/mv64x60_edac.c +4 -4
@@ -100,7 +100,7 @@ static int __init mv64x60_pci_fixup(struct platform_device *pdev)return 0 ; } -static int __devinit mv64x60_pci_err_probe (struct platform_device *pdev) +static int mv64x60_pci_err_probe (struct platform_device *pdev) {struct edac_pci_ctl_info *pci;struct mv64x60_pci_pdata *pdata;
@@ -271,7 +271,7 @@ static irqreturn_t mv64x60_sram_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit mv64x60_sram_err_probe (struct platform_device *pdev) +static int mv64x60_sram_err_probe (struct platform_device *pdev) {struct edac_device_ctl_info *edac_dev;struct mv64x60_sram_pdata *pdata;
@@ -439,7 +439,7 @@ static irqreturn_t mv64x60_cpu_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit mv64x60_cpu_err_probe (struct platform_device *pdev) +static int mv64x60_cpu_err_probe (struct platform_device *pdev) {struct edac_device_ctl_info *edac_dev;struct resource *r;
@@ -697,7 +697,7 @@ static void mv64x60_init_csrows(struct mem_ctl_info *mci, dimm->edac_mode =EDAC_SECDED ; } -static int __devinit mv64x60_mc_err_probe (struct platform_device *pdev) +static int mv64x60_mc_err_probe (struct platform_device *pdev) {struct mem_ctl_info *mci;struct edac_mc_layer layers[2 ];
drivers/edac/octeon_edac-l2c.c +1 -1
@@ -38,7 +38,7 @@ static void co_l2c_poll(struct edac_device_ctl_info *l2c) } } -static int __devinit co_l2c_probe (struct platform_device *pdev) +static int co_l2c_probe (struct platform_device *pdev) {struct edac_device_ctl_info *l2c;union cvmx_l2t_err l2t_err;
drivers/edac/octeon_edac-lmc.c +1 -1
@@ -50,7 +50,7 @@ static void co_lmc_poll(struct mem_ctl_info *mci)writeq (cfg0.u64, lmc_base +LMC_MEM_CFG0 ); } -static int __devinit co_lmc_probe (struct platform_device *pdev) +static int co_lmc_probe (struct platform_device *pdev) {struct mem_ctl_info *mci;union lmc_mem_cfg0 cfg0;
drivers/edac/octeon_edac-pc.c +1 -1
@@ -66,7 +66,7 @@ static struct notifier_block co_cache_error_notifier = { .notifier_call = co_cache_error_event, }; -static int __devinit co_cache_error_probe (struct platform_device *pdev) +static int co_cache_error_probe (struct platform_device *pdev) {struct edac_device_ctl_info *ed;int res =0 ;
drivers/edac/octeon_edac-pci.c +1 -1
@@ -64,7 +64,7 @@ static void co_pci_poll(struct edac_pci_ctl_info *pci) } } -static int __devinit co_pci_probe (struct platform_device *pdev) +static int co_pci_probe (struct platform_device *pdev) {struct edac_pci_ctl_info *pci;int res =0 ;
drivers/edac/pasemi_edac.c +1 -1
@@ -188,7 +188,7 @@ static int pasemi_edac_init_csrows(struct mem_ctl_info *mci,return 0 ; } -static int __devinit pasemi_edac_probe (struct pci_dev *pdev, +static int pasemi_edac_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct mem_ctl_info *mci =NULL ;
drivers/edac/ppc4xx_edac.c +7 -7
@@ -838,7 +838,7 @@ ppc4xx_edac_isr(int irq, void *dev_id)* * Returns a device type width enumeration. */ -static enum dev_type __devinit +static enum dev_type ppc4xx_edac_get_dtype (u32 mcopt1) {switch (mcopt1 &SDRAM_MCOPT1_WDTH_MASK ) {
@@ -862,7 +862,7 @@ ppc4xx_edac_get_dtype(u32 mcopt1)* * Returns a memory type enumeration. */ -static enum mem_type __devinit +static enum mem_type ppc4xx_edac_get_mtype (u32 mcopt1) {bool rden = ((mcopt1 &SDRAM_MCOPT1_RDEN_MASK ) ==SDRAM_MCOPT1_RDEN );
@@ -893,7 +893,7 @@ ppc4xx_edac_get_mtype(u32 mcopt1)* Returns 0 if OK; otherwise, -EINVAL if the memory bank size * configuration cannot be determined. */ -static int __devinit +static int ppc4xx_edac_init_csrows (struct mem_ctl_info *mci,u32 mcopt1) {const struct ppc4xx_edac_pdata *pdata = mci->pvt_info;
@@ -1011,7 +1011,7 @@ ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1)* * Returns 0 if OK; otherwise, < 0 on error. */ -static int __devinit +static int ppc4xx_edac_mc_init(struct mem_ctl_info *mci, struct platform_device *op, const dcr_host_t *dcr_host,
@@ -1105,7 +1105,7 @@ ppc4xx_edac_mc_init(struct mem_ctl_info *mci,* Returns 0 if OK; otherwise, -ENODEV if the interrupts could not be * mapped and assigned. */ -static int __devinit +static int ppc4xx_edac_register_irq (struct platform_device *op,struct mem_ctl_info *mci) {int status =0 ;
@@ -1183,7 +1183,7 @@ ppc4xx_edac_register_irq(struct platform_device *op, struct mem_ctl_info *mci)* Returns 0 if the DCRs were successfully mapped; otherwise, < 0 on * error. */ -static int __devinit +static int ppc4xx_edac_map_dcrs (const struct device_node *np,dcr_host_t *dcr_host) {unsigned int dcr_base, dcr_len;
@@ -1232,7 +1232,7 @@ ppc4xx_edac_map_dcrs(const struct device_node *np, dcr_host_t *dcr_host)* Returns 0 if the controller instance was successfully bound to the * driver; otherwise, < 0 on error. */ -static int __devinit ppc4xx_edac_probe (struct platform_device *op) +static int ppc4xx_edac_probe (struct platform_device *op) {int status =0 ;u32 mcopt1, memcheck;
drivers/edac/r82600_edac.c +1 -1
@@ -359,7 +359,7 @@ fail: }/* returns count (>= 0), or negative on error */ -static int __devinit r82600_init_one (struct pci_dev *pdev, +static int r82600_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {edac_dbg (0 ,"\n" );
drivers/edac/sb_edac.c +1 -1
@@ -1692,7 +1692,7 @@ fail0:* < 0 for error code */ -static int __devinit sbridge_probe (struct pci_dev *pdev, +static int sbridge_probe (struct pci_dev *pdev,const struct pci_device_id *id) {int rc;
drivers/edac/tile_edac.c +2 -2
@@ -82,7 +82,7 @@ static void tile_edac_check(struct mem_ctl_info *mci)* Initialize the 'csrows' table within the mci control structure with the * addressing of memory. */ -static int __devinit tile_edac_init_csrows (struct mem_ctl_info *mci) +static int tile_edac_init_csrows (struct mem_ctl_info *mci) {struct csrow_info *csrow = mci->csrows[0 ];struct tile_edac_priv *priv = mci->pvt_info;
@@ -120,7 +120,7 @@ static int __devinit tile_edac_init_csrows(struct mem_ctl_info *mci)return 0 ; } -static int __devinit tile_edac_mc_probe (struct platform_device *pdev) +static int tile_edac_mc_probe (struct platform_device *pdev) {char hv_file[32 ];int hv_devhdl;
drivers/edac/x38_edac.c +1 -1
@@ -418,7 +418,7 @@ fail:return rc; } -static int __devinit x38_init_one (struct pci_dev *pdev, +static int x38_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int rc;
Signature · 1 line
1.8.0
PATCH 230/493 input: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/input/gameport/emu10k1-gp.c | 2 +- drivers/input/gameport/fm801-gp.c | 2 +- drivers/input/joystick/as5011.c | 4 ++-- drivers/input/joystick/maplecontrol.c | 2 +- drivers/input/keyboard/adp5520-keys.c | 2 +- drivers/input/keyboard/adp5588-keys.c | 10 +++++----- drivers/input/keyboard/adp5589-keys.c | 12 ++++++------ drivers/input/keyboard/bf54x-keys.c | 2 +- drivers/input/keyboard/ep93xx_keypad.c | 2 +- drivers/input/keyboard/gpio_keys.c | 7 +++---- drivers/input/keyboard/gpio_keys_polled.c | 5 ++--- drivers/input/keyboard/hilkbd.c | 4 ++-- drivers/input/keyboard/imx_keypad.c | 2 +- drivers/input/keyboard/jornada680_kbd.c | 2 +- drivers/input/keyboard/jornada720_kbd.c | 2 +- drivers/input/keyboard/lm8323.c | 2 +- drivers/input/keyboard/lm8333.c | 2 +- drivers/input/keyboard/locomokbd.c | 2 +- drivers/input/keyboard/lpc32xx-keys.c | 4 ++-- drivers/input/keyboard/matrix_keypad.c | 4 ++-- drivers/input/keyboard/max7359_keypad.c | 2 +- drivers/input/keyboard/mcs_touchkey.c | 2 +- drivers/input/keyboard/mpr121_touchkey.c | 4 ++-- drivers/input/keyboard/omap-keypad.c | 2 +- drivers/input/keyboard/omap4-keypad.c | 4 ++-- drivers/input/keyboard/opencores-kbd.c | 2 +- drivers/input/keyboard/pmic8xxx-keypad.c | 6 +++--- drivers/input/keyboard/pxa27x_keypad.c | 2 +- drivers/input/keyboard/pxa930_rotary.c | 2 +- drivers/input/keyboard/qt1070.c | 4 ++-- drivers/input/keyboard/qt2160.c | 8 ++++---- drivers/input/keyboard/samsung-keypad.c | 2 +- drivers/input/keyboard/sh_keysc.c | 2 +- drivers/input/keyboard/spear-keyboard.c | 4 ++-- drivers/input/keyboard/stmpe-keypad.c | 6 +++--- drivers/input/keyboard/tc3589x-keypad.c | 2 +- drivers/input/keyboard/tca6416-keypad.c | 4 ++-- drivers/input/keyboard/tca8418_keypad.c | 4 ++-- drivers/input/keyboard/tegra-kbc.c | 8 ++++---- drivers/input/keyboard/tnetv107x-keypad.c | 2 +- drivers/input/keyboard/twl4030_keypad.c | 4 ++-- drivers/input/keyboard/w90p910_keypad.c | 2 +- drivers/input/misc/88pm80x_onkey.c | 2 +- drivers/input/misc/88pm860x_onkey.c | 2 +- drivers/input/misc/ab8500-ponkey.c | 2 +- drivers/input/misc/ad714x-i2c.c | 2 +- drivers/input/misc/ad714x-spi.c | 2 +- drivers/input/misc/adxl34x-i2c.c | 2 +- drivers/input/misc/adxl34x-spi.c | 2 +- drivers/input/misc/bfin_rotary.c | 2 +- drivers/input/misc/bma150.c | 22 +++++++++++----------- drivers/input/misc/cma3000_d0x_i2c.c | 2 +- drivers/input/misc/cobalt_btns.c | 2 +- drivers/input/misc/da9052_onkey.c | 2 +- drivers/input/misc/da9055_onkey.c | 2 +- drivers/input/misc/dm355evm_keys.c | 2 +- drivers/input/misc/gp2ap002a00f.c | 4 ++-- drivers/input/misc/gpio_tilt_polled.c | 2 +- drivers/input/misc/ixp4xx-beeper.c | 2 +- drivers/input/misc/kxtj9.c | 10 +++++----- drivers/input/misc/m68kspkr.c | 2 +- drivers/input/misc/max8925_onkey.c | 2 +- drivers/input/misc/max8997_haptic.c | 2 +- drivers/input/misc/mc13783-pwrbutton.c | 2 +- drivers/input/misc/mma8450.c | 2 +- drivers/input/misc/mpu3050.c | 4 ++-- drivers/input/misc/pcap_keys.c | 2 +- drivers/input/misc/pcf50633-input.c | 2 +- drivers/input/misc/pcf8574_keypad.c | 2 +- drivers/input/misc/pcspkr.c | 2 +- drivers/input/misc/pm8xxx-vibrator.c | 2 +- drivers/input/misc/pmic8xxx-pwrkey.c | 2 +- drivers/input/misc/pwm-beeper.c | 2 +- drivers/input/misc/rb532_button.c | 2 +- drivers/input/misc/retu-pwrbutton.c | 2 +- drivers/input/misc/rotary_encoder.c | 5 ++--- drivers/input/misc/sgi_btns.c | 2 +- drivers/input/misc/sparcspkr.c | 6 +++--- drivers/input/misc/twl4030-vibra.c | 2 +- drivers/input/misc/twl6040-vibra.c | 2 +- drivers/input/misc/wistron_btns.c | 14 +++++++------- drivers/input/misc/wm831x-on.c | 2 +- drivers/input/misc/xen-kbdfront.c | 2 +- drivers/input/mouse/gpio_mouse.c | 2 +- drivers/input/mouse/maplemouse.c | 2 +- drivers/input/mouse/navpoint.c | 2 +- drivers/input/mouse/pxa930_trkball.c | 2 +- drivers/input/mouse/synaptics_i2c.c | 2 +- drivers/input/serio/altera_ps2.c | 2 +- drivers/input/serio/ambakmi.c | 2 +- drivers/input/serio/arc_ps2.c | 8 ++++---- drivers/input/serio/ct82c710.c | 2 +- drivers/input/serio/gscps2.c | 2 +- drivers/input/serio/i8042-sparcio.h | 2 +- drivers/input/serio/maceps2.c | 4 ++-- drivers/input/serio/pcips2.c | 2 +- drivers/input/serio/q40kbd.c | 2 +- drivers/input/serio/rpckbd.c | 2 +- drivers/input/serio/sa1111ps2.c | 8 ++++---- drivers/input/serio/xilinx_ps2.c | 2 +- drivers/input/touchscreen/88pm860x-ts.c | 4 ++-- drivers/input/touchscreen/ad7877.c | 2 +- drivers/input/touchscreen/ad7879-i2c.c | 2 +- drivers/input/touchscreen/ad7879-spi.c | 2 +- drivers/input/touchscreen/ads7846.c | 6 +++--- drivers/input/touchscreen/atmel_mxt_ts.c | 2 +- drivers/input/touchscreen/atmel_tsadcc.c | 2 +- drivers/input/touchscreen/auo-pixcir-ts.c | 4 ++-- drivers/input/touchscreen/bu21013_ts.c | 2 +- drivers/input/touchscreen/cy8ctmg110_ts.c | 2 +- drivers/input/touchscreen/cyttsp_i2c.c | 2 +- drivers/input/touchscreen/cyttsp_spi.c | 2 +- drivers/input/touchscreen/da9034-ts.c | 2 +- drivers/input/touchscreen/da9052_tsi.c | 6 +++--- drivers/input/touchscreen/edt-ft5x06.c | 12 ++++++------ drivers/input/touchscreen/eeti_ts.c | 2 +- drivers/input/touchscreen/egalax_ts.c | 4 ++-- drivers/input/touchscreen/htcpen.c | 2 +- drivers/input/touchscreen/ili210x.c | 2 +- drivers/input/touchscreen/intel-mid-touch.c | 10 +++++----- drivers/input/touchscreen/jornada720_ts.c | 2 +- drivers/input/touchscreen/lpc32xx_ts.c | 2 +- drivers/input/touchscreen/max11801_ts.c | 4 ++-- drivers/input/touchscreen/mcs5000_ts.c | 2 +- drivers/input/touchscreen/mms114.c | 4 ++-- drivers/input/touchscreen/pcap_ts.c | 2 +- drivers/input/touchscreen/pixcir_i2c_ts.c | 2 +- drivers/input/touchscreen/s3c2410_ts.c | 2 +- drivers/input/touchscreen/st1232.c | 2 +- drivers/input/touchscreen/stmpe-ts.c | 4 ++-- drivers/input/touchscreen/ti_am335x_tsc.c | 2 +- drivers/input/touchscreen/tnetv107x-ts.c | 2 +- drivers/input/touchscreen/tsc2005.c | 4 ++-- drivers/input/touchscreen/tsc2007.c | 2 +- drivers/input/touchscreen/ucb1400_ts.c | 4 ++-- drivers/input/touchscreen/w90p910_ts.c | 2 +- drivers/input/touchscreen/wacom_i2c.c | 2 +- drivers/input/touchscreen/wm831x-ts.c | 2 +- 138 files changed, 224 insertions(+), 227 deletions(-)
drivers/input/gameport/emu10k1-gp.c +1 -1
@@ -57,7 +57,7 @@ static const struct pci_device_id emu_tbl[] = {MODULE_DEVICE_TABLE (pci, emu_tbl); -static int __devinit emu_probe (struct pci_dev *pdev,const struct pci_device_id *ent) +static int emu_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct emu *emu;struct gameport *port;
drivers/input/gameport/fm801-gp.c +1 -1
@@ -78,7 +78,7 @@ static int fm801_gp_open(struct gameport *gameport, int mode)return 0 ; } -static int __devinit fm801_gp_probe (struct pci_dev *pci,const struct pci_device_id *id) +static int fm801_gp_probe (struct pci_dev *pci,const struct pci_device_id *id) {struct fm801_gp *gp;struct gameport *port;
drivers/input/joystick/as5011.c +2 -2
@@ -157,7 +157,7 @@ out:return IRQ_HANDLED ; } -static int __devinit as5011_configure_chip (struct as5011_device *as5011, +static int as5011_configure_chip (struct as5011_device *as5011,const struct as5011_platform_data *plat_dat) {struct i2c_client *client = as5011->i2c_client;
@@ -225,7 +225,7 @@ static int __devinit as5011_configure_chip(struct as5011_device *as5011,return 0 ; } -static int __devinit as5011_probe (struct i2c_client *client, +static int as5011_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct as5011_platform_data *plat_data;
drivers/input/joystick/maplecontrol.c +1 -1
@@ -78,7 +78,7 @@ static void dc_pad_close(struct input_dev *dev) }/* allow the controller to be used */ -static int __devinit probe_maple_controller (struct device *dev) +static int probe_maple_controller (struct device *dev) {static const short btn_bit[32 ] = {BTN_C ,BTN_B ,BTN_A ,BTN_START ,-1 ,-1 ,-1 ,-1 ,
drivers/input/keyboard/adp5520-keys.c +1 -1
@@ -69,7 +69,7 @@ static int adp5520_keys_notifier(struct notifier_block *nb,return 0 ; } -static int __devinit adp5520_keys_probe (struct platform_device *pdev) +static int adp5520_keys_probe (struct platform_device *pdev) {struct adp5520_keys_platform_data *pdata = pdev->dev.platform_data;struct input_dev *input;
drivers/input/keyboard/adp5588-keys.c +5 -5
@@ -145,7 +145,7 @@ static int adp5588_gpio_direction_output(struct gpio_chip *chip,return ret; } -static int __devinit adp5588_build_gpiomap (struct adp5588_kpad *kpad, +static int adp5588_build_gpiomap (struct adp5588_kpad *kpad,const struct adp5588_kpad_platform_data *pdata) {bool pin_used[ADP5588_MAXGPIO ];
@@ -170,7 +170,7 @@ static int __devinit adp5588_build_gpiomap(struct adp5588_kpad *kpad,return n_unused; } -static int __devinit adp5588_gpio_add (struct adp5588_kpad *kpad) +static int adp5588_gpio_add (struct adp5588_kpad *kpad) {struct device *dev = &kpad->client->dev;const struct adp5588_kpad_platform_data *pdata = dev->platform_data;
@@ -319,7 +319,7 @@ static irqreturn_t adp5588_irq(int irq, void *handle)return IRQ_HANDLED ; } -static int __devinit adp5588_setup (struct i2c_client *client) +static int adp5588_setup (struct i2c_client *client) {const struct adp5588_kpad_platform_data *pdata = client->dev.platform_data;const struct adp5588_gpio_platform_data *gpio_data = pdata->gpio_data;
@@ -382,7 +382,7 @@ static int __devinit adp5588_setup(struct i2c_client *client)return 0 ; } -static void __devinit adp5588_report_switch_state (struct adp5588_kpad *kpad) +static void adp5588_report_switch_state (struct adp5588_kpad *kpad) {int gpi_stat1 =adp5588_read (kpad->client,GPIO_DAT_STAT1 );int gpi_stat2 =adp5588_read (kpad->client,GPIO_DAT_STAT2 );
@@ -420,7 +420,7 @@ static void __devinit adp5588_report_switch_state(struct adp5588_kpad *kpad) } -static int __devinit adp5588_probe (struct i2c_client *client, +static int adp5588_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct adp5588_kpad *kpad;
drivers/input/keyboard/adp5589-keys.c +6 -6
@@ -464,7 +464,7 @@ static int adp5589_gpio_direction_output(struct gpio_chip *chip,return ret; } -static int __devinit adp5589_build_gpiomap (struct adp5589_kpad *kpad, +static int adp5589_build_gpiomap (struct adp5589_kpad *kpad,const struct adp5589_kpad_platform_data *pdata) {bool pin_used[ADP5589_MAXGPIO ];
@@ -496,7 +496,7 @@ static int __devinit adp5589_build_gpiomap(struct adp5589_kpad *kpad,return n_unused; } -static int __devinit adp5589_gpio_add (struct adp5589_kpad *kpad) +static int adp5589_gpio_add (struct adp5589_kpad *kpad) {struct device *dev = &kpad->client->dev;const struct adp5589_kpad_platform_data *pdata = dev->platform_data;
@@ -641,7 +641,7 @@ static irqreturn_t adp5589_irq(int irq, void *handle)return IRQ_HANDLED ; } -static int __devinit adp5589_get_evcode (struct adp5589_kpad *kpad, +static int adp5589_get_evcode (struct adp5589_kpad *kpad,unsigned short key) {int i;
@@ -655,7 +655,7 @@ static int __devinit adp5589_get_evcode(struct adp5589_kpad *kpad,return -EINVAL ; } -static int __devinit adp5589_setup (struct adp5589_kpad *kpad) +static int adp5589_setup (struct adp5589_kpad *kpad) {struct i2c_client *client = kpad->client; const struct adp5589_kpad_platform_data *pdata =
@@ -820,7 +820,7 @@ static int __devinit adp5589_setup(struct adp5589_kpad *kpad)return 0 ; } -static void __devinit adp5589_report_switch_state (struct adp5589_kpad *kpad) +static void adp5589_report_switch_state (struct adp5589_kpad *kpad) {int gpi_stat_tmp, pin_loc;int i;
@@ -860,7 +860,7 @@ static void __devinit adp5589_report_switch_state(struct adp5589_kpad *kpad)input_sync (kpad->input); } -static int __devinit adp5589_probe (struct i2c_client *client, +static int adp5589_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct adp5589_kpad *kpad;
drivers/input/keyboard/bf54x-keys.c +1 -1
@@ -177,7 +177,7 @@ static irqreturn_t bfin_kpad_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit bfin_kpad_probe (struct platform_device *pdev) +static int bfin_kpad_probe (struct platform_device *pdev) {struct bf54x_kpad *bf54x_kpad;struct bfin_kpad_platform_data *pdata = pdev->dev.platform_data;
drivers/input/keyboard/ep93xx_keypad.c +1 -1
@@ -232,7 +232,7 @@ static int ep93xx_keypad_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(ep93xx_keypad_pm_ops, ep93xx_keypad_suspend, ep93xx_keypad_resume); -static int __devinit ep93xx_keypad_probe (struct platform_device *pdev) +static int ep93xx_keypad_probe (struct platform_device *pdev) {struct ep93xx_keypad *keypad;const struct matrix_keymap_data *keymap_data;
drivers/input/keyboard/gpio_keys.c +3 -4
@@ -423,7 +423,7 @@ out:return IRQ_HANDLED ; } -static int __devinit gpio_keys_setup_key (struct platform_device *pdev, +static int gpio_keys_setup_key (struct platform_device *pdev,struct input_dev *input,struct gpio_button_data *bdata,const struct gpio_keys_button *button)
@@ -551,8 +551,7 @@ static void gpio_keys_close(struct input_dev *input)/* * Translate OpenFirmware node properties into platform_data */ -static struct gpio_keys_platform_data *__devinit -gpio_keys_get_devtree_pdata (struct device *dev) +static struct gpio_keys_platform_data *gpio_keys_get_devtree_pdata (struct device *dev) {struct device_node *node, *pp;struct gpio_keys_platform_data *pdata;
@@ -658,7 +657,7 @@ static void gpio_remove_key(struct gpio_button_data *bdata)gpio_free (bdata->button->gpio); } -static int __devinit gpio_keys_probe (struct platform_device *pdev) +static int gpio_keys_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;const struct gpio_keys_platform_data *pdata =dev_get_platdata (dev);
drivers/input/keyboard/gpio_keys_polled.c +2 -3
@@ -103,8 +103,7 @@ static void gpio_keys_polled_close(struct input_polled_dev *dev) }#ifdef CONFIG_OF -static struct gpio_keys_platform_data *__devinit -gpio_keys_polled_get_devtree_pdata (struct device *dev) +static struct gpio_keys_platform_data *gpio_keys_polled_get_devtree_pdata (struct device *dev) {struct device_node *node, *pp;struct gpio_keys_platform_data *pdata;
@@ -196,7 +195,7 @@ gpio_keys_polled_get_devtree_pdata(struct device *dev) }#endif -static int __devinit gpio_keys_polled_probe (struct platform_device *pdev) +static int gpio_keys_polled_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;const struct gpio_keys_platform_data *pdata =dev_get_platdata (dev);
drivers/input/keyboard/hilkbd.c +2 -2
@@ -200,7 +200,7 @@ static void hil_do(unsigned char cmd, unsigned char *data, unsigned int len)/* initialize HIL */ -static int __devinit hil_keyb_init (void ) +static int hil_keyb_init (void ) {unsigned char c;unsigned int i, kbid;
@@ -299,7 +299,7 @@ static void __devexit hil_keyb_exit(void) }#if defined(CONFIG_PARISC ) -static int __devinit hil_probe_chip (struct parisc_device *dev) +static int hil_probe_chip (struct parisc_device *dev) {/* Only allow one HIL keyboard */ if (hil_dev.dev)
drivers/input/keyboard/imx_keypad.c +1 -1
@@ -413,7 +413,7 @@ open_err:return -EIO ; } -static int __devinit imx_keypad_probe (struct platform_device *pdev) +static int imx_keypad_probe (struct platform_device *pdev) {const struct matrix_keymap_data *keymap_data = pdev->dev.platform_data;struct imx_keypad *keypad;
drivers/input/keyboard/jornada680_kbd.c +1 -1
@@ -179,7 +179,7 @@ static void jornadakbd680_poll(struct input_polled_dev *dev)memcpy (jornadakbd->old_scan, jornadakbd->new_scan,JORNADA_SCAN_SIZE ); } -static int __devinit jornada680kbd_probe (struct platform_device *pdev) +static int jornada680kbd_probe (struct platform_device *pdev) {struct jornadakbd *jornadakbd;struct input_polled_dev *poll_dev;
drivers/input/keyboard/jornada720_kbd.c +1 -1
@@ -94,7 +94,7 @@ static irqreturn_t jornada720_kbd_interrupt(int irq, void *dev_id)return IRQ_HANDLED ; }; -static int __devinit jornada720_kbd_probe (struct platform_device *pdev) +static int jornada720_kbd_probe (struct platform_device *pdev) {struct jornadakbd *jornadakbd;struct input_dev *input_dev;
drivers/input/keyboard/lm8323.c +1 -1
@@ -624,7 +624,7 @@ static ssize_t lm8323_set_disable(struct device *dev, } static DEVICE_ATTR(disable_kp, 0644, lm8323_show_disable, lm8323_set_disable); -static int __devinit lm8323_probe (struct i2c_client *client, +static int lm8323_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct lm8323_platform_data *pdata = client->dev.platform_data;
drivers/input/keyboard/lm8333.c +1 -1
@@ -128,7 +128,7 @@ static irqreturn_t lm8333_irq_thread(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit lm8333_probe (struct i2c_client *client, +static int lm8333_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct lm8333_platform_data *pdata = client->dev.platform_data;
drivers/input/keyboard/locomokbd.c +1 -1
@@ -236,7 +236,7 @@ static void locomokbd_close(struct input_dev *dev)locomo_writel (r, locomokbd->base +LOCOMO_KIC ); } -static int __devinit locomokbd_probe (struct locomo_dev *dev) +static int locomokbd_probe (struct locomo_dev *dev) {struct locomokbd *locomokbd;struct input_dev *input_dev;
drivers/input/keyboard/lpc32xx-keys.c +2 -2
@@ -139,7 +139,7 @@ static void lpc32xx_kscan_close(struct input_dev *dev)clk_disable_unprepare (kscandat->clk); } -static int __devinit lpc32xx_parse_dt (struct device *dev, +static int lpc32xx_parse_dt (struct device *dev,struct lpc32xx_kscan_drv *kscandat) {struct device_node *np = dev->of_node;
@@ -166,7 +166,7 @@ static int __devinit lpc32xx_parse_dt(struct device *dev,return 0 ; } -static int __devinit lpc32xx_kscan_probe (struct platform_device *pdev) +static int lpc32xx_kscan_probe (struct platform_device *pdev) {struct lpc32xx_kscan_drv *kscandat;struct input_dev *input;
drivers/input/keyboard/matrix_keypad.c +2 -2
@@ -299,7 +299,7 @@ static int matrix_keypad_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops, matrix_keypad_suspend, matrix_keypad_resume); -static int __devinit matrix_keypad_init_gpio (struct platform_device *pdev, +static int matrix_keypad_init_gpio (struct platform_device *pdev,struct matrix_keypad *keypad) {const struct matrix_keypad_platform_data *pdata = keypad->pdata;
@@ -394,7 +394,7 @@ static void matrix_keypad_free_gpio(struct matrix_keypad *keypad)gpio_free (pdata->col_gpios[i]); } -static int __devinit matrix_keypad_probe (struct platform_device *pdev) +static int matrix_keypad_probe (struct platform_device *pdev) {const struct matrix_keypad_platform_data *pdata;const struct matrix_keymap_data *keymap_data;
drivers/input/keyboard/max7359_keypad.c +1 -1
@@ -179,7 +179,7 @@ static void max7359_initialize(struct i2c_client *client)max7359_fall_deepsleep (client); } -static int __devinit max7359_probe (struct i2c_client *client, +static int max7359_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct matrix_keymap_data *keymap_data = client->dev.platform_data;
drivers/input/keyboard/mcs_touchkey.c +1 -1
@@ -97,7 +97,7 @@ static irqreturn_t mcs_touchkey_interrupt(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit mcs_touchkey_probe (struct i2c_client *client, +static int mcs_touchkey_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct mcs_platform_data *pdata;
drivers/input/keyboard/mpr121_touchkey.c +2 -2
@@ -123,7 +123,7 @@ out:return IRQ_HANDLED ; } -static int __devinit mpr121_phys_init (const struct mpr121_platform_data *pdata, +static int mpr121_phys_init (const struct mpr121_platform_data *pdata,struct mpr121_touchkey *mpr121,struct i2c_client *client) {
@@ -185,7 +185,7 @@ err_i2c_write:return ret; } -static int __devinit mpr_touchkey_probe (struct i2c_client *client, +static int mpr_touchkey_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct mpr121_platform_data *pdata = client->dev.platform_data;
drivers/input/keyboard/omap-keypad.c +1 -1
@@ -244,7 +244,7 @@ static int omap_kp_resume(struct platform_device *dev)#define omap_kp_resume NULL#endif -static int __devinit omap_kp_probe (struct platform_device *pdev) +static int omap_kp_probe (struct platform_device *pdev) {struct omap_kp *omap_kp;struct input_dev *input_dev;
drivers/input/keyboard/omap4-keypad.c +2 -2
@@ -211,7 +211,7 @@ static void omap4_keypad_close(struct input_dev *input) }#ifdef CONFIG_OF -static int __devinit omap4_keypad_parse_dt (struct device *dev, +static int omap4_keypad_parse_dt (struct device *dev,struct omap4_keypad *keypad_data) {struct device_node *np = dev->of_node;
@@ -241,7 +241,7 @@ static inline int omap4_keypad_parse_dt(struct device *dev, }#endif -static int __devinit omap4_keypad_probe (struct platform_device *pdev) +static int omap4_keypad_probe (struct platform_device *pdev) {const struct omap4_keypad_platform_data *pdata =dev_get_platdata (&pdev->dev);
drivers/input/keyboard/opencores-kbd.c +1 -1
@@ -37,7 +37,7 @@ static irqreturn_t opencores_kbd_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit opencores_kbd_probe (struct platform_device *pdev) +static int opencores_kbd_probe (struct platform_device *pdev) {struct input_dev *input;struct opencores_kbd *opencores_kbd;
drivers/input/keyboard/pmic8xxx-keypad.c +3 -3
@@ -397,7 +397,7 @@ static irqreturn_t pmic8xxx_kp_irq(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit pmic8xxx_kpd_init (struct pmic8xxx_kp *kp) +static int pmic8xxx_kpd_init (struct pmic8xxx_kp *kp) {int bits, rc, cycles;u8 scan_val =0 , ctrl_val =0 ;
@@ -447,7 +447,7 @@ static int __devinit pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) } -static int __devinit pmic8xxx_kp_config_gpio (int gpio_start,int num_gpios, +static int pmic8xxx_kp_config_gpio (int gpio_start,int num_gpios,struct pmic8xxx_kp *kp,struct pm_gpio *gpio_config) {int rc, i;
@@ -518,7 +518,7 @@ static void pmic8xxx_kp_close(struct input_dev *dev)* - set irq edge type. * - enable the keypad controller. */ -static int __devinit pmic8xxx_kp_probe (struct platform_device *pdev) +static int pmic8xxx_kp_probe (struct platform_device *pdev) {const struct pm8xxx_keypad_platform_data *pdata =dev_get_platdata (&pdev->dev);
drivers/input/keyboard/pxa27x_keypad.c +1 -1
@@ -482,7 +482,7 @@ static const struct dev_pm_ops pxa27x_keypad_pm_ops = { };#endif -static int __devinit pxa27x_keypad_probe (struct platform_device *pdev) +static int pxa27x_keypad_probe (struct platform_device *pdev) {struct pxa27x_keypad_platform_data *pdata = pdev->dev.platform_data;struct pxa27x_keypad *keypad;
drivers/input/keyboard/pxa930_rotary.c +1 -1
@@ -82,7 +82,7 @@ static void pxa930_rotary_close(struct input_dev *dev)clear_sbcr (r); } -static int __devinit pxa930_rotary_probe (struct platform_device *pdev) +static int pxa930_rotary_probe (struct platform_device *pdev) {struct pxa930_rotary_platform_data *pdata = pdev->dev.platform_data;struct pxa930_rotary *r;
drivers/input/keyboard/qt1070.c +2 -2
@@ -91,7 +91,7 @@ static int qt1070_write(struct i2c_client *client, u8 reg, u8 data)return ret; } -static bool __devinit qt1070_identify (struct i2c_client *client) +static bool qt1070_identify (struct i2c_client *client) {int id, ver;
@@ -140,7 +140,7 @@ static irqreturn_t qt1070_interrupt(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit qt1070_probe (struct i2c_client *client, +static int qt1070_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct qt1070_data *data;
drivers/input/keyboard/qt2160.c +4 -4
@@ -183,7 +183,7 @@ static void qt2160_worker(struct work_struct *work)qt2160_schedule_read (qt2160); } -static int __devinit qt2160_read (struct i2c_client *client,u8 reg) +static int qt2160_read (struct i2c_client *client,u8 reg) {int ret;
@@ -204,7 +204,7 @@ static int __devinit qt2160_read(struct i2c_client *client, u8 reg)return ret; } -static int __devinit qt2160_write (struct i2c_client *client,u8 reg,u8 data) +static int qt2160_write (struct i2c_client *client,u8 reg,u8 data) {int ret;
@@ -217,7 +217,7 @@ static int __devinit qt2160_write(struct i2c_client *client, u8 reg, u8 data) } -static bool __devinit qt2160_identify (struct i2c_client *client) +static bool qt2160_identify (struct i2c_client *client) {int id, ver, rev;
@@ -248,7 +248,7 @@ static bool __devinit qt2160_identify(struct i2c_client *client)return true; } -static int __devinit qt2160_probe (struct i2c_client *client, +static int qt2160_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct qt2160_data *qt2160;
drivers/input/keyboard/samsung-keypad.c +1 -1
@@ -366,7 +366,7 @@ static void samsung_keypad_dt_gpio_free(struct samsung_keypad *keypad) }#endif -static int __devinit samsung_keypad_probe (struct platform_device *pdev) +static int samsung_keypad_probe (struct platform_device *pdev) {const struct samsung_keypad_platdata *pdata;const struct matrix_keymap_data *keymap_data;
drivers/input/keyboard/sh_keysc.c +1 -1
@@ -162,7 +162,7 @@ static irqreturn_t sh_keysc_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit sh_keysc_probe (struct platform_device *pdev) +static int sh_keysc_probe (struct platform_device *pdev) {struct sh_keysc_priv *priv;struct sh_keysc_info *pdata;
drivers/input/keyboard/spear-keyboard.c +2 -2
@@ -146,7 +146,7 @@ static void spear_kbd_close(struct input_dev *dev) }#ifdef CONFIG_OF -static int __devinit spear_kbd_parse_dt (struct platform_device *pdev, +static int spear_kbd_parse_dt (struct platform_device *pdev,struct spear_kbd *kbd) {struct device_node *np = pdev->dev.of_node;
@@ -181,7 +181,7 @@ static inline int spear_kbd_parse_dt(struct platform_device *pdev, }#endif -static int __devinit spear_kbd_probe (struct platform_device *pdev) +static int spear_kbd_probe (struct platform_device *pdev) {struct kbd_platform_data *pdata =dev_get_platdata (&pdev->dev);const struct matrix_keymap_data *keymap = pdata ? pdata->keymap :NULL ;
drivers/input/keyboard/stmpe-keypad.c +3 -3
@@ -166,7 +166,7 @@ static irqreturn_t stmpe_keypad_irq(int irq, void *dev)return IRQ_HANDLED ; } -static int __devinit stmpe_keypad_altfunc_init (struct stmpe_keypad *keypad) +static int stmpe_keypad_altfunc_init (struct stmpe_keypad *keypad) {const struct stmpe_keypad_variant *variant = keypad->variant;unsigned int col_gpios = variant->col_gpios;
@@ -207,7 +207,7 @@ static int __devinit stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad)return stmpe_set_altfunc (stmpe, pins,STMPE_BLOCK_KEYPAD ); } -static int __devinit stmpe_keypad_chip_init (struct stmpe_keypad *keypad) +static int stmpe_keypad_chip_init (struct stmpe_keypad *keypad) {const struct stmpe_keypad_platform_data *plat = keypad->plat;const struct stmpe_keypad_variant *variant = keypad->variant;
@@ -257,7 +257,7 @@ static int __devinit stmpe_keypad_chip_init(struct stmpe_keypad *keypad) (plat->debounce_ms << 1)); } -static int __devinit stmpe_keypad_probe (struct platform_device *pdev) +static int stmpe_keypad_probe (struct platform_device *pdev) {struct stmpe *stmpe =dev_get_drvdata (pdev->dev.parent);const struct stmpe_keypad_platform_data *plat;
drivers/input/keyboard/tc3589x-keypad.c +1 -1
@@ -299,7 +299,7 @@ static void tc3589x_keypad_close(struct input_dev *input)tc3589x_keypad_disable (keypad); } -static int __devinit tc3589x_keypad_probe (struct platform_device *pdev) +static int tc3589x_keypad_probe (struct platform_device *pdev) {struct tc3589x *tc3589x =dev_get_drvdata (pdev->dev.parent);struct tc_keypad *keypad;
drivers/input/keyboard/tca6416-keypad.c +2 -2
@@ -166,7 +166,7 @@ static void tca6416_keys_close(struct input_dev *dev)disable_irq (chip->irqnum); } -static int __devinit tca6416_setup_registers (struct tca6416_keypad_chip *chip) +static int tca6416_setup_registers (struct tca6416_keypad_chip *chip) {int error;
@@ -197,7 +197,7 @@ static int __devinit tca6416_setup_registers(struct tca6416_keypad_chip *chip)return 0 ; } -static int __devinit tca6416_keypad_probe (struct i2c_client *client, +static int tca6416_keypad_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct tca6416_keys_platform_data *pdata;
drivers/input/keyboard/tca8418_keypad.c +2 -2
@@ -241,7 +241,7 @@ exit:/* * Configure the TCA8418 for keypad operation */ -static int __devinit tca8418_configure (struct tca8418_keypad *keypad_data) +static int tca8418_configure (struct tca8418_keypad *keypad_data) {int reg, error;
@@ -270,7 +270,7 @@ static int __devinit tca8418_configure(struct tca8418_keypad *keypad_data)return error; } -static int __devinit tca8418_keypad_probe (struct i2c_client *client, +static int tca8418_keypad_probe (struct i2c_client *client,const struct i2c_device_id *id) { const struct tca8418_keypad_platform_data *pdata =
drivers/input/keyboard/tegra-kbc.c +4 -4
@@ -573,7 +573,7 @@ static void tegra_kbc_close(struct input_dev *dev)return tegra_kbc_stop (kbc); } -static bool __devinit +static bool tegra_kbc_check_pin_cfg (const struct tegra_kbc_platform_data *pdata,struct device *dev,unsigned int *num_rows) {
@@ -619,7 +619,7 @@ tegra_kbc_check_pin_cfg(const struct tegra_kbc_platform_data *pdata, }#ifdef CONFIG_OF -static struct tegra_kbc_platform_data *__devinit tegra_kbc_dt_parse_pdata ( +static struct tegra_kbc_platform_data *tegra_kbc_dt_parse_pdata (struct platform_device *pdev) {struct tegra_kbc_platform_data *pdata;
@@ -670,7 +670,7 @@ static inline struct tegra_kbc_platform_data *tegra_kbc_dt_parse_pdata( }#endif -static int __devinit tegra_kbd_setup_keymap (struct tegra_kbc *kbc) +static int tegra_kbd_setup_keymap (struct tegra_kbc *kbc) {const struct tegra_kbc_platform_data *pdata = kbc->pdata;const struct matrix_keymap_data *keymap_data = pdata->keymap_data;
@@ -697,7 +697,7 @@ static int __devinit tegra_kbd_setup_keymap(struct tegra_kbc *kbc)return retval; } -static int __devinit tegra_kbc_probe (struct platform_device *pdev) +static int tegra_kbc_probe (struct platform_device *pdev) {const struct tegra_kbc_platform_data *pdata = pdev->dev.platform_data;struct tegra_kbc *kbc;
drivers/input/keyboard/tnetv107x-keypad.c +1 -1
@@ -153,7 +153,7 @@ static void keypad_stop(struct input_dev *dev)clk_disable (kp->clk); } -static int __devinit keypad_probe (struct platform_device *pdev) +static int keypad_probe (struct platform_device *pdev) {const struct matrix_keypad_platform_data *pdata;const struct matrix_keymap_data *keymap_data;
drivers/input/keyboard/twl4030_keypad.c +2 -2
@@ -271,7 +271,7 @@ static irqreturn_t do_kp_irq(int irq, void *_kp)return IRQ_HANDLED ; } -static int __devinit twl4030_kp_program (struct twl4030_keypad *kp) +static int twl4030_kp_program (struct twl4030_keypad *kp) {u8 reg;int i;
@@ -328,7 +328,7 @@ static int __devinit twl4030_kp_program(struct twl4030_keypad *kp)* Registers keypad device with input subsystem * and configures TWL4030 keypad registers */ -static int __devinit twl4030_kp_probe (struct platform_device *pdev) +static int twl4030_kp_probe (struct platform_device *pdev) {struct twl4030_keypad_data *pdata = pdev->dev.platform_data;const struct matrix_keymap_data *keymap_data;
drivers/input/keyboard/w90p910_keypad.c +1 -1
@@ -118,7 +118,7 @@ static void w90p910_keypad_close(struct input_dev *dev)clk_disable (keypad->clk); } -static int __devinit w90p910_keypad_probe (struct platform_device *pdev) +static int w90p910_keypad_probe (struct platform_device *pdev) {const struct w90p910_keypad_platform_data *pdata = pdev->dev.platform_data;
drivers/input/misc/88pm80x_onkey.c +1 -1
@@ -62,7 +62,7 @@ static irqreturn_t pm80x_onkey_handler(int irq, void *data) static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend, pm80x_dev_resume); -static int __devinit pm80x_onkey_probe (struct platform_device *pdev) +static int pm80x_onkey_probe (struct platform_device *pdev) {struct pm80x_chip *chip =dev_get_drvdata (pdev->dev.parent);
drivers/input/misc/88pm860x_onkey.c +1 -1
@@ -56,7 +56,7 @@ static irqreturn_t pm860x_onkey_handler(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit pm860x_onkey_probe (struct platform_device *pdev) +static int pm860x_onkey_probe (struct platform_device *pdev) {struct pm860x_chip *chip =dev_get_drvdata (pdev->dev.parent);struct pm860x_onkey_info *info;
drivers/input/misc/ab8500-ponkey.c +1 -1
@@ -45,7 +45,7 @@ static irqreturn_t ab8500_ponkey_handler(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit ab8500_ponkey_probe (struct platform_device *pdev) +static int ab8500_ponkey_probe (struct platform_device *pdev) {struct ab8500 *ab8500 =dev_get_drvdata (pdev->dev.parent);struct ab8500_ponkey *ponkey;
drivers/input/misc/ad714x-i2c.c +1 -1
@@ -72,7 +72,7 @@ static int ad714x_i2c_read(struct ad714x_chip *chip,return 0 ; } -static int __devinit ad714x_i2c_probe (struct i2c_client *client, +static int ad714x_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct ad714x_chip *chip;
drivers/input/misc/ad714x-spi.c +1 -1
@@ -83,7 +83,7 @@ static int ad714x_spi_write(struct ad714x_chip *chip,return 0 ; } -static int __devinit ad714x_spi_probe (struct spi_device *spi) +static int ad714x_spi_probe (struct spi_device *spi) {struct ad714x_chip *chip;int err;
drivers/input/misc/adxl34x-i2c.c +1 -1
@@ -73,7 +73,7 @@ static const struct adxl34x_bus_ops adxl34x_i2c_bops = { .read_block = adxl34x_i2c_read_block, }; -static int __devinit adxl34x_i2c_probe (struct i2c_client *client, +static int adxl34x_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct adxl34x *ac;
drivers/input/misc/adxl34x-spi.c +1 -1
@@ -65,7 +65,7 @@ static const struct adxl34x_bus_ops adxl34x_spi_bops = { .read_block = adxl34x_spi_read_block, }; -static int __devinit adxl34x_spi_probe (struct spi_device *spi) +static int adxl34x_spi_probe (struct spi_device *spi) {struct adxl34x *ac;
drivers/input/misc/bfin_rotary.c +1 -1
@@ -90,7 +90,7 @@ static irqreturn_t bfin_rotary_isr(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit bfin_rotary_probe (struct platform_device *pdev) +static int bfin_rotary_probe (struct platform_device *pdev) {struct bfin_rotary_platform_data *pdata = pdev->dev.platform_data;struct bfin_rot *rotary;
drivers/input/misc/bma150.c +11 -11
@@ -224,7 +224,7 @@ static int bma150_set_mode(struct bma150_data *bma150, u8 mode)return 0 ; } -static int __devinit bma150_soft_reset (struct bma150_data *bma150) +static int bma150_soft_reset (struct bma150_data *bma150) {int error;
@@ -237,19 +237,19 @@ static int __devinit bma150_soft_reset(struct bma150_data *bma150)return 0 ; } -static int __devinit bma150_set_range (struct bma150_data *bma150,u8 range) +static int bma150_set_range (struct bma150_data *bma150,u8 range) {return bma150_set_reg_bits (bma150->client, range,BMA150_RANGE_POS ,BMA150_RANGE_MSK ,BMA150_RANGE_REG ); } -static int __devinit bma150_set_bandwidth (struct bma150_data *bma150,u8 bw) +static int bma150_set_bandwidth (struct bma150_data *bma150,u8 bw) {return bma150_set_reg_bits (bma150->client, bw,BMA150_BANDWIDTH_POS ,BMA150_BANDWIDTH_MSK ,BMA150_BANDWIDTH_REG ); } -static int __devinit bma150_set_low_g_interrupt (struct bma150_data *bma150, +static int bma150_set_low_g_interrupt (struct bma150_data *bma150,u8 enable,u8 hyst,u8 dur,u8 thres) {int error;
@@ -273,7 +273,7 @@ static int __devinit bma150_set_low_g_interrupt(struct bma150_data *bma150, BMA150_LOW_G_EN_REG); } -static int __devinit bma150_set_high_g_interrupt (struct bma150_data *bma150, +static int bma150_set_high_g_interrupt (struct bma150_data *bma150,u8 enable,u8 hyst,u8 dur,u8 thres) {int error;
@@ -300,7 +300,7 @@ static int __devinit bma150_set_high_g_interrupt(struct bma150_data *bma150, } -static int __devinit bma150_set_any_motion_interrupt (struct bma150_data *bma150, +static int bma150_set_any_motion_interrupt (struct bma150_data *bma150,u8 enable,u8 dur,u8 thres) {int error;
@@ -424,7 +424,7 @@ static void bma150_poll_close(struct input_polled_dev *ipoll_dev)bma150_close (bma150); } -static int __devinit bma150_initialize (struct bma150_data *bma150, +static int bma150_initialize (struct bma150_data *bma150,const struct bma150_cfg *cfg) {int error;
@@ -465,7 +465,7 @@ static int __devinit bma150_initialize(struct bma150_data *bma150,return bma150_set_mode (bma150,BMA150_MODE_SLEEP ); } -static void __devinit bma150_init_input_device (struct bma150_data *bma150, +static void bma150_init_input_device (struct bma150_data *bma150,struct input_dev *idev) { idev->name =BMA150_DRIVER ;
@@ -479,7 +479,7 @@ static void __devinit bma150_init_input_device(struct bma150_data *bma150,input_set_abs_params (idev,ABS_Z ,ABSMIN_ACC_VAL ,ABSMAX_ACC_VAL ,0 ,0 ); } -static int __devinit bma150_register_input_device (struct bma150_data *bma150) +static int bma150_register_input_device (struct bma150_data *bma150) {struct input_dev *idev;int error;
@@ -504,7 +504,7 @@ static int __devinit bma150_register_input_device(struct bma150_data *bma150)return 0 ; } -static int __devinit bma150_register_polled_device (struct bma150_data *bma150) +static int bma150_register_polled_device (struct bma150_data *bma150) {struct input_polled_dev *ipoll_dev;int error;
@@ -535,7 +535,7 @@ static int __devinit bma150_register_polled_device(struct bma150_data *bma150)return 0 ; } -static int __devinit bma150_probe (struct i2c_client *client, +static int bma150_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct bma150_platform_data *pdata = client->dev.platform_data;
drivers/input/misc/cma3000_d0x_i2c.c +1 -1
@@ -55,7 +55,7 @@ static const struct cma3000_bus_ops cma3000_i2c_bops = { .write = cma3000_i2c_set, }; -static int __devinit cma3000_i2c_probe (struct i2c_client *client, +static int cma3000_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct cma3000_accl_data *data;
drivers/input/misc/cobalt_btns.c +1 -1
@@ -73,7 +73,7 @@ static void handle_buttons(struct input_polled_dev *dev) } } -static int __devinit cobalt_buttons_probe (struct platform_device *pdev) +static int cobalt_buttons_probe (struct platform_device *pdev) {struct buttons_dev *bdev;struct input_polled_dev *poll_dev;
drivers/input/misc/da9052_onkey.c +1 -1
@@ -71,7 +71,7 @@ static irqreturn_t da9052_onkey_irq(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit da9052_onkey_probe (struct platform_device *pdev) +static int da9052_onkey_probe (struct platform_device *pdev) {struct da9052 *da9052 =dev_get_drvdata (pdev->dev.parent);struct da9052_onkey *onkey;
drivers/input/misc/da9055_onkey.c +1 -1
@@ -73,7 +73,7 @@ static irqreturn_t da9055_onkey_irq(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit da9055_onkey_probe (struct platform_device *pdev) +static int da9055_onkey_probe (struct platform_device *pdev) {struct da9055 *da9055 =dev_get_drvdata (pdev->dev.parent);struct da9055_onkey *onkey;
drivers/input/misc/dm355evm_keys.c +1 -1
@@ -173,7 +173,7 @@ static irqreturn_t dm355evm_keys_irq(int irq, void *_keys)/*----------------------------------------------------------------------*/ -static int __devinit dm355evm_keys_probe (struct platform_device *pdev) +static int dm355evm_keys_probe (struct platform_device *pdev) {struct dm355evm_keys *keys;struct input_dev *input;
drivers/input/misc/gp2ap002a00f.c +2 -2
@@ -98,7 +98,7 @@ static void gp2a_device_close(struct input_dev *dev) "unable to deactivate, err %d\n", error); } -static int __devinit gp2a_initialize (struct gp2a_data *dt) +static int gp2a_initialize (struct gp2a_data *dt) {int error;
@@ -122,7 +122,7 @@ static int __devinit gp2a_initialize(struct gp2a_data *dt)return error; } -static int __devinit gp2a_probe (struct i2c_client *client, +static int gp2a_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct gp2a_platform_data *pdata = client->dev.platform_data;
drivers/input/misc/gpio_tilt_polled.c +1 -1
@@ -96,7 +96,7 @@ static void gpio_tilt_polled_close(struct input_polled_dev *dev) pdata->disable (tdev->dev); } -static int __devinit gpio_tilt_polled_probe (struct platform_device *pdev) +static int gpio_tilt_polled_probe (struct platform_device *pdev) {const struct gpio_tilt_platform_data *pdata = pdev->dev.platform_data;struct device *dev = &pdev->dev;
drivers/input/misc/ixp4xx-beeper.c +1 -1
@@ -87,7 +87,7 @@ static irqreturn_t ixp4xx_spkr_interrupt(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit ixp4xx_spkr_probe (struct platform_device *dev) +static int ixp4xx_spkr_probe (struct platform_device *dev) {struct input_dev *input_dev;int err;
drivers/input/misc/kxtj9.c +5 -5
@@ -295,7 +295,7 @@ static void kxtj9_input_close(struct input_dev *dev)kxtj9_disable (tj9); } -static void __devinit kxtj9_init_input_device (struct kxtj9_data *tj9, +static void kxtj9_init_input_device (struct kxtj9_data *tj9,struct input_dev *input_dev) {__set_bit (EV_ABS , input_dev->evbit);
@@ -308,7 +308,7 @@ static void __devinit kxtj9_init_input_device(struct kxtj9_data *tj9, input_dev->dev.parent = &tj9->client->dev; } -static int __devinit kxtj9_setup_input_device (struct kxtj9_data *tj9) +static int kxtj9_setup_input_device (struct kxtj9_data *tj9) {struct input_dev *input_dev;int err;
@@ -433,7 +433,7 @@ static void kxtj9_polled_input_close(struct input_polled_dev *dev)kxtj9_disable (tj9); } -static int __devinit kxtj9_setup_polled_device (struct kxtj9_data *tj9) +static int kxtj9_setup_polled_device (struct kxtj9_data *tj9) {int err;struct input_polled_dev *poll_dev;
@@ -485,7 +485,7 @@ static inline void kxtj9_teardown_polled_device(struct kxtj9_data *tj9)#endif -static int __devinit kxtj9_verify (struct kxtj9_data *tj9) +static int kxtj9_verify (struct kxtj9_data *tj9) {int retval;
@@ -506,7 +506,7 @@ out:return retval; } -static int __devinit kxtj9_probe (struct i2c_client *client, +static int kxtj9_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct kxtj9_platform_data *pdata = client->dev.platform_data;
drivers/input/misc/m68kspkr.c +1 -1
@@ -48,7 +48,7 @@ static int m68kspkr_event(struct input_dev *dev, unsigned int type, unsigned intreturn 0 ; } -static int __devinit m68kspkr_probe (struct platform_device *dev) +static int m68kspkr_probe (struct platform_device *dev) {struct input_dev *input_dev;int err;
drivers/input/misc/max8925_onkey.c +1 -1
@@ -62,7 +62,7 @@ static irqreturn_t max8925_onkey_handler(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit max8925_onkey_probe (struct platform_device *pdev) +static int max8925_onkey_probe (struct platform_device *pdev) {struct max8925_chip *chip =dev_get_drvdata (pdev->dev.parent);struct max8925_onkey_info *info;
drivers/input/misc/max8997_haptic.c +1 -1
@@ -241,7 +241,7 @@ static void max8997_haptic_close(struct input_dev *dev)max8997_haptic_disable (chip); } -static int __devinit max8997_haptic_probe (struct platform_device *pdev) +static int max8997_haptic_probe (struct platform_device *pdev) {struct max8997_dev *iodev =dev_get_drvdata (pdev->dev.parent); const struct max8997_platform_data *pdata =
drivers/input/misc/mc13783-pwrbutton.c +1 -1
@@ -89,7 +89,7 @@ static irqreturn_t button_irq(int irq, void *_priv)return IRQ_HANDLED ; } -static int __devinit mc13783_pwrbutton_probe (struct platform_device *pdev) +static int mc13783_pwrbutton_probe (struct platform_device *pdev) {const struct mc13xxx_buttons_platform_data *pdata;struct mc13xxx *mc13783 =dev_get_drvdata (pdev->dev.parent);
drivers/input/misc/mma8450.c +1 -1
@@ -167,7 +167,7 @@ static void mma8450_close(struct input_polled_dev *dev)/* * I2C init/probing/exit functions */ -static int __devinit mma8450_probe (struct i2c_client *c, +static int mma8450_probe (struct i2c_client *c,const struct i2c_device_id *id) {struct input_polled_dev *idev;
drivers/input/misc/mpu3050.c +2 -2
@@ -257,7 +257,7 @@ static irqreturn_t mpu3050_interrupt_thread(int irq, void *data)* * Called during device probe; configures the sampling method. */ -static int __devinit mpu3050_hw_init (struct mpu3050_sensor *sensor) +static int mpu3050_hw_init (struct mpu3050_sensor *sensor) {struct i2c_client *client = sensor->client;int ret;
@@ -306,7 +306,7 @@ static int __devinit mpu3050_hw_init(struct mpu3050_sensor *sensor)* * If present install the relevant sysfs interfaces and input device. */ -static int __devinit mpu3050_probe (struct i2c_client *client, +static int mpu3050_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct mpu3050_sensor *sensor;
drivers/input/misc/pcap_keys.c +1 -1
@@ -48,7 +48,7 @@ static irqreturn_t pcap_keys_handler(int irq, void *_pcap_keys)return IRQ_HANDLED ; } -static int __devinit pcap_keys_probe (struct platform_device *pdev) +static int pcap_keys_probe (struct platform_device *pdev) {int err = -ENOMEM ;struct pcap_keys *pcap_keys;
drivers/input/misc/pcf50633-input.c +1 -1
@@ -53,7 +53,7 @@ pcf50633_input_irq(int irq, void *data)input_sync (input->input_dev); } -static int __devinit pcf50633_input_probe (struct platform_device *pdev) +static int pcf50633_input_probe (struct platform_device *pdev) {struct pcf50633_input *input;struct input_dev *input_dev;
drivers/input/misc/pcf8574_keypad.c +1 -1
@@ -82,7 +82,7 @@ static irqreturn_t pcf8574_kp_irq_handler(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit pcf8574_kp_probe (struct i2c_client *client,const struct i2c_device_id *id) +static int pcf8574_kp_probe (struct i2c_client *client,const struct i2c_device_id *id) {int i, ret;struct input_dev *idev;
drivers/input/misc/pcspkr.c +1 -1
@@ -63,7 +63,7 @@ static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int creturn 0 ; } -static int __devinit pcspkr_probe (struct platform_device *dev) +static int pcspkr_probe (struct platform_device *dev) {struct input_dev *pcspkr_dev;int err;
drivers/input/misc/pm8xxx-vibrator.c +1 -1
@@ -178,7 +178,7 @@ static int pm8xxx_vib_play_effect(struct input_dev *dev, void *data,return 0 ; } -static int __devinit pm8xxx_vib_probe (struct platform_device *pdev) +static int pm8xxx_vib_probe (struct platform_device *pdev) {struct pm8xxx_vib *vib;
drivers/input/misc/pmic8xxx-pwrkey.c +1 -1
@@ -81,7 +81,7 @@ static int pmic8xxx_pwrkey_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(pm8xxx_pwr_key_pm_ops, pmic8xxx_pwrkey_suspend, pmic8xxx_pwrkey_resume); -static int __devinit pmic8xxx_pwrkey_probe (struct platform_device *pdev) +static int pmic8xxx_pwrkey_probe (struct platform_device *pdev) {struct input_dev *pwr;int key_release_irq =platform_get_irq (pdev,0 );
drivers/input/misc/pwm-beeper.c +1 -1
@@ -65,7 +65,7 @@ static int pwm_beeper_event(struct input_dev *input,return 0 ; } -static int __devinit pwm_beeper_probe (struct platform_device *pdev) +static int pwm_beeper_probe (struct platform_device *pdev) {unsigned long pwm_id = (unsigned long )pdev->dev.platform_data;struct pwm_beeper *beeper;
drivers/input/misc/rb532_button.c +1 -1
@@ -51,7 +51,7 @@ static void rb532_button_poll(struct input_polled_dev *poll_dev)input_sync (poll_dev->input); } -static int __devinit rb532_button_probe (struct platform_device *pdev) +static int rb532_button_probe (struct platform_device *pdev) {struct input_polled_dev *poll_dev;int error;
drivers/input/misc/retu-pwrbutton.c +1 -1
@@ -42,7 +42,7 @@ static irqreturn_t retu_pwrbutton_irq(int irq, void *_pwr)return IRQ_HANDLED ; } -static int __devinit retu_pwrbutton_probe (struct platform_device *pdev) +static int retu_pwrbutton_probe (struct platform_device *pdev) {struct retu_dev *rdev =dev_get_drvdata (pdev->dev.parent);struct input_dev *idev;
drivers/input/misc/rotary_encoder.c +2 -3
@@ -149,8 +149,7 @@ static struct of_device_id rotary_encoder_of_match[] = { };MODULE_DEVICE_TABLE (of, rotary_encoder_of_match); -static struct rotary_encoder_platform_data *__devinit -rotary_encoder_parse_dt (struct device *dev) +static struct rotary_encoder_platform_data *rotary_encoder_parse_dt (struct device *dev) {const struct of_device_id *of_id =of_match_device (rotary_encoder_of_match, dev);
@@ -192,7 +191,7 @@ rotary_encoder_parse_dt(struct device *dev) }#endif -static int __devinit rotary_encoder_probe (struct platform_device *pdev) +static int rotary_encoder_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;const struct rotary_encoder_platform_data *pdata =dev_get_platdata (dev);
drivers/input/misc/sgi_btns.c +1 -1
@@ -91,7 +91,7 @@ static void handle_buttons(struct input_polled_dev *dev) } } -static int __devinit sgi_buttons_probe (struct platform_device *pdev) +static int sgi_buttons_probe (struct platform_device *pdev) {struct buttons_dev *bdev;struct input_polled_dev *poll_dev;
drivers/input/misc/sparcspkr.c +3 -3
@@ -139,7 +139,7 @@ static int grover_spkr_event(struct input_dev *dev, unsigned int type, unsignedreturn 0 ; } -static int __devinit sparcspkr_probe (struct device *dev) +static int sparcspkr_probe (struct device *dev) {struct sparcspkr_state *state =dev_get_drvdata (dev);struct input_dev *input_dev;
@@ -182,7 +182,7 @@ static void sparcspkr_shutdown(struct platform_device *dev) state->event (input_dev,EV_SND ,SND_BELL ,0 ); } -static int __devinit bbc_beep_probe (struct platform_device *op) +static int bbc_beep_probe (struct platform_device *op) {struct sparcspkr_state *state;struct bbc_beep_info *info;
@@ -267,7 +267,7 @@ static struct platform_driver bbc_beep_driver = { .shutdown = sparcspkr_shutdown, }; -static int __devinit grover_beep_probe (struct platform_device *op) +static int grover_beep_probe (struct platform_device *op) {struct sparcspkr_state *state;struct grover_beep_info *info;
drivers/input/misc/twl4030-vibra.c +1 -1
@@ -207,7 +207,7 @@ static bool twl4030_vibra_check_coexist(struct twl4030_vibra_data *pdata,return false; } -static int __devinit twl4030_vibra_probe (struct platform_device *pdev) +static int twl4030_vibra_probe (struct platform_device *pdev) {struct twl4030_vibra_data *pdata = pdev->dev.platform_data;struct device_node *twl4030_core_node = pdev->dev.parent->of_node;
drivers/input/misc/twl6040-vibra.c +1 -1
@@ -255,7 +255,7 @@ static int twl6040_vibra_suspend(struct device *dev) static SIMPLE_DEV_PM_OPS(twl6040_vibra_pm_ops, twl6040_vibra_suspend, NULL); -static int __devinit twl6040_vibra_probe (struct platform_device *pdev) +static int twl6040_vibra_probe (struct platform_device *pdev) {struct twl6040_vibra_data *pdata = pdev->dev.platform_data;struct device *twl6040_core_dev = pdev->dev.parent;
drivers/input/misc/wistron_btns.c +7 -7
@@ -170,7 +170,7 @@ static u16 bios_pop_queue(void)return regs.eax; } -static void __devinit bios_attach (void ) +static void bios_attach (void ) {struct regs regs;
@@ -190,7 +190,7 @@ static void bios_detach(void)call_bios (®s); } -static u8 __devinit bios_get_cmos_address (void ) +static u8 bios_get_cmos_address (void ) {struct regs regs;
@@ -202,7 +202,7 @@ static u8 __devinit bios_get_cmos_address(void)return regs.ecx; } -static u16 __devinit bios_get_default_setting (u8 subsys) +static u16 bios_get_default_setting (u8 subsys) {struct regs regs;
@@ -1052,7 +1052,7 @@ static struct led_classdev wistron_wifi_led = { .brightness_set = wistron_wifi_led_set, }; -static void __devinit wistron_led_init (struct device *parent) +static void wistron_led_init (struct device *parent) {if (leds_present &FE_WIFI_LED ) {u16 wifi =bios_get_default_setting (WIFI );
@@ -1168,7 +1168,7 @@ static void wistron_poll(struct input_polled_dev *dev) dev->poll_interval =POLL_INTERVAL_DEFAULT ; } -static int __devinit wistron_setup_keymap (struct input_dev *dev, +static int wistron_setup_keymap (struct input_dev *dev,struct key_entry *entry) {switch (entry->type) {
@@ -1199,7 +1199,7 @@ static int __devinit wistron_setup_keymap(struct input_dev *dev,return 0 ; } -static int __devinit setup_input_dev (void ) +static int setup_input_dev (void ) {struct input_dev *input_dev;int error;
@@ -1237,7 +1237,7 @@ static int __devinit setup_input_dev(void)/* Driver core */ -static int __devinit wistron_probe (struct platform_device *dev) +static int wistron_probe (struct platform_device *dev) {int err;
drivers/input/misc/wm831x-on.c +1 -1
@@ -69,7 +69,7 @@ static irqreturn_t wm831x_on_irq(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit wm831x_on_probe (struct platform_device *pdev) +static int wm831x_on_probe (struct platform_device *pdev) {struct wm831x *wm831x =dev_get_drvdata (pdev->dev.parent);struct wm831x_on *wm831x_on;
drivers/input/misc/xen-kbdfront.c +1 -1
@@ -104,7 +104,7 @@ static irqreturn_t input_handler(int rq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit xenkbd_probe (struct xenbus_device *dev, +static int xenkbd_probe (struct xenbus_device *dev,const struct xenbus_device_id *id) {int ret, i, abs;
drivers/input/mouse/gpio_mouse.c +1 -1
@@ -46,7 +46,7 @@ static void gpio_mouse_scan(struct input_polled_dev *dev)input_sync (input); } -static int __devinit gpio_mouse_probe (struct platform_device *pdev) +static int gpio_mouse_probe (struct platform_device *pdev) {struct gpio_mouse_platform_data *pdata = pdev->dev.platform_data;struct input_polled_dev *input_poll;
drivers/input/mouse/maplemouse.c +1 -1
@@ -64,7 +64,7 @@ static void dc_mouse_close(struct input_dev *dev) }/* allow the mouse to be used */ -static int __devinit probe_maple_mouse (struct device *dev) +static int probe_maple_mouse (struct device *dev) {struct maple_device *mdev =to_maple_dev (dev);struct maple_driver *mdrv =to_maple_driver (dev->driver);
drivers/input/mouse/navpoint.c +1 -1
@@ -206,7 +206,7 @@ static void navpoint_close(struct input_dev *input)navpoint_down (navpoint); } -static int __devinit navpoint_probe (struct platform_device *pdev) +static int navpoint_probe (struct platform_device *pdev) {const struct navpoint_platform_data *pdata =dev_get_platdata (&pdev->dev);
drivers/input/mouse/pxa930_trkball.c +1 -1
@@ -143,7 +143,7 @@ static void pxa930_trkball_close(struct input_dev *dev)pxa930_trkball_disable (trkball); } -static int __devinit pxa930_trkball_probe (struct platform_device *pdev) +static int pxa930_trkball_probe (struct platform_device *pdev) {struct pxa930_trkball *trkball;struct input_dev *input;
drivers/input/mouse/synaptics_i2c.c +1 -1
@@ -535,7 +535,7 @@ static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *clienreturn touch; } -static int __devinit synaptics_i2c_probe (struct i2c_client *client, +static int synaptics_i2c_probe (struct i2c_client *client,const struct i2c_device_id *dev_id) {int ret;
drivers/input/serio/altera_ps2.c +1 -1
@@ -81,7 +81,7 @@ static void altera_ps2_close(struct serio *io)/* * Add one device to this driver. */ -static int __devinit altera_ps2_probe (struct platform_device *pdev) +static int altera_ps2_probe (struct platform_device *pdev) {struct ps2if *ps2if;struct serio *serio;
drivers/input/serio/ambakmi.c +1 -1
@@ -107,7 +107,7 @@ static void amba_kmi_close(struct serio *io)clk_disable_unprepare (kmi->clk); } -static int __devinit amba_kmi_probe (struct amba_device *dev, +static int amba_kmi_probe (struct amba_device *dev,const struct amba_id *id) {struct amba_kmi_port *kmi;
drivers/input/serio/arc_ps2.c +4 -4
@@ -123,7 +123,7 @@ static void arc_ps2_close(struct serio *io) port->status_addr); } -static void __iomem *__devinit arc_ps2_calc_addr (struct arc_ps2_data *arc_ps2, +static void __iomem *arc_ps2_calc_addr (struct arc_ps2_data *arc_ps2,int index,bool status) {void __iomem *addr;
@@ -135,7 +135,7 @@ static void __iomem * __devinit arc_ps2_calc_addr(struct arc_ps2_data *arc_ps2,return addr; } -static void __devinit arc_ps2_inhibit_ports (struct arc_ps2_data *arc_ps2) +static void arc_ps2_inhibit_ports (struct arc_ps2_data *arc_ps2) {void __iomem *addr;u32 val;
@@ -149,7 +149,7 @@ static void __devinit arc_ps2_inhibit_ports(struct arc_ps2_data *arc_ps2) } } -static int __devinit arc_ps2_create_port (struct platform_device *pdev, +static int arc_ps2_create_port (struct platform_device *pdev,struct arc_ps2_data *arc_ps2,int index) {
@@ -180,7 +180,7 @@ static int __devinit arc_ps2_create_port(struct platform_device *pdev,return 0 ; } -static int __devinit arc_ps2_probe (struct platform_device *pdev) +static int arc_ps2_probe (struct platform_device *pdev) {struct arc_ps2_data *arc_ps2;struct resource *res;
drivers/input/serio/ct82c710.c +1 -1
@@ -175,7 +175,7 @@ static int __init ct82c710_detect(void)return 0 ; } -static int __devinit ct82c710_probe (struct platform_device *dev) +static int ct82c710_probe (struct platform_device *dev) { ct82c710_port =kzalloc (sizeof (struct serio ),GFP_KERNEL );if (!ct82c710_port)
drivers/input/serio/gscps2.c +1 -1
@@ -327,7 +327,7 @@ static void gscps2_close(struct serio *port)* @return: success/error report */ -static int __devinit gscps2_probe (struct parisc_device *dev) +static int gscps2_probe (struct parisc_device *dev) {struct gscps2port *ps2port;struct serio *serio;
drivers/input/serio/i8042-sparcio.h +1 -1
@@ -49,7 +49,7 @@ static inline void i8042_write_command(int val)#define OBP_PS2MS_NAME1 "kdmouse"#define OBP_PS2MS_NAME2 "mouse" -static int __devinit sparc_i8042_probe (struct platform_device *op) +static int sparc_i8042_probe (struct platform_device *op) {struct device_node *dp = op->dev.of_node;
drivers/input/serio/maceps2.c +2 -2
@@ -116,7 +116,7 @@ static void maceps2_close(struct serio *dev) } -static struct serio *__devinit maceps2_allocate_port (int idx) +static struct serio *maceps2_allocate_port (int idx) {struct serio *serio;
@@ -135,7 +135,7 @@ static struct serio * __devinit maceps2_allocate_port(int idx)return serio; } -static int __devinit maceps2_probe (struct platform_device *dev) +static int maceps2_probe (struct platform_device *dev) { maceps2_port[0 ] =maceps2_allocate_port (0 ); maceps2_port[1 ] =maceps2_allocate_port (1 );
drivers/input/serio/pcips2.c +1 -1
@@ -127,7 +127,7 @@ static void pcips2_close(struct serio *io)free_irq (ps2if->dev->irq, ps2if); } -static int __devinit pcips2_probe (struct pci_dev *dev,const struct pci_device_id *id) +static int pcips2_probe (struct pci_dev *dev,const struct pci_device_id *id) {struct pcips2_data *ps2if;struct serio *serio;
drivers/input/serio/q40kbd.c +1 -1
@@ -122,7 +122,7 @@ static void q40kbd_close(struct serio *port)q40kbd_flush (q40kbd); } -static int __devinit q40kbd_probe (struct platform_device *pdev) +static int q40kbd_probe (struct platform_device *pdev) {struct q40kbd *q40kbd;struct serio *port;
drivers/input/serio/rpckbd.c +1 -1
@@ -114,7 +114,7 @@ static void rpckbd_close(struct serio *port)* Allocate and initialize serio structure for subsequent registration * with serio core. */ -static int __devinit rpckbd_probe (struct platform_device *dev) +static int rpckbd_probe (struct platform_device *dev) {struct rpckbd_data *rpckbd;struct serio *serio;
drivers/input/serio/sa1111ps2.c +4 -4
@@ -193,7 +193,7 @@ static void ps2_close(struct serio *io)/* * Clear the input buffer. */ -static void __devinit ps2_clear_input (struct ps2if *ps2if) +static void ps2_clear_input (struct ps2if *ps2if) {int maxread =100 ;
@@ -203,7 +203,7 @@ static void __devinit ps2_clear_input(struct ps2if *ps2if) } } -static unsigned int __devinit ps2_test_one (struct ps2if *ps2if, +static unsigned int ps2_test_one (struct ps2if *ps2if,unsigned int mask) {unsigned int val;
@@ -220,7 +220,7 @@ static unsigned int __devinit ps2_test_one(struct ps2if *ps2if,* Test the keyboard interface. We basically check to make sure that * we can drive each line to the keyboard independently of each other. */ -static int __devinit ps2_test (struct ps2if *ps2if) +static int ps2_test (struct ps2if *ps2if) {unsigned int stat;int ret =0 ;
@@ -251,7 +251,7 @@ static int __devinit ps2_test(struct ps2if *ps2if)/* * Add one device to this driver. */ -static int __devinit ps2_probe (struct sa1111_dev *dev) +static int ps2_probe (struct sa1111_dev *dev) {struct ps2if *ps2if;struct serio *serio;
drivers/input/serio/xilinx_ps2.c +1 -1
@@ -233,7 +233,7 @@ static void sxps2_close(struct serio *pserio)* It returns 0, if the driver is bound to the PS/2 device, or a negative * value if there is an error. */ -static int __devinit xps2_of_probe (struct platform_device *ofdev) +static int xps2_of_probe (struct platform_device *ofdev) {struct resource r_irq;/* Interrupt resources */ struct resource r_mem;/* IO mem resources */
drivers/input/touchscreen/88pm860x-ts.c +2 -2
@@ -115,7 +115,7 @@ static void pm860x_touch_close(struct input_dev *dev) }#ifdef CONFIG_OF -static int __devinit pm860x_touch_dt_init (struct platform_device *pdev, +static int pm860x_touch_dt_init (struct platform_device *pdev,struct pm860x_chip *chip,int *res_x) {
@@ -169,7 +169,7 @@ static int __devinit pm860x_touch_dt_init(struct platform_device *pdev,#define pm860x_touch_dt_init (x, y, z) (-1)#endif -static int __devinit pm860x_touch_probe (struct platform_device *pdev) +static int pm860x_touch_probe (struct platform_device *pdev) {struct pm860x_chip *chip =dev_get_drvdata (pdev->dev.parent);struct pm860x_touch_pdata *pdata = pdev->dev.platform_data;
drivers/input/touchscreen/ad7877.c +1 -1
@@ -682,7 +682,7 @@ static void ad7877_setup_ts_def_msg(struct spi_device *spi, struct ad7877 *ts) } } -static int __devinit ad7877_probe (struct spi_device *spi) +static int ad7877_probe (struct spi_device *spi) {struct ad7877 *ts;struct input_dev *input_dev;
drivers/input/touchscreen/ad7879-i2c.c +1 -1
@@ -54,7 +54,7 @@ static const struct ad7879_bus_ops ad7879_i2c_bus_ops = { .write = ad7879_i2c_write, }; -static int __devinit ad7879_i2c_probe (struct i2c_client *client, +static int ad7879_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct ad7879 *ts;
drivers/input/touchscreen/ad7879-spi.c +1 -1
@@ -110,7 +110,7 @@ static const struct ad7879_bus_ops ad7879_spi_bus_ops = { .write = ad7879_spi_write, }; -static int __devinit ad7879_spi_probe (struct spi_device *spi) +static int ad7879_spi_probe (struct spi_device *spi) {struct ad7879 *ts;int err;
drivers/input/touchscreen/ads7846.c +3 -3
@@ -955,7 +955,7 @@ static int ads7846_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(ads7846_pm, ads7846_suspend, ads7846_resume); -static int __devinit ads7846_setup_pendown (struct spi_device *spi,struct ads7846 *ts) +static int ads7846_setup_pendown (struct spi_device *spi,struct ads7846 *ts) {struct ads7846_platform_data *pdata = spi->dev.platform_data;int err;
@@ -993,7 +993,7 @@ static int __devinit ads7846_setup_pendown(struct spi_device *spi, struct ads784* Set up the transfers to read touchscreen state; this assumes we * use formula #2 for pressure, not #3. */ -static void __devinit ads7846_setup_spi_msg (struct ads7846 *ts, +static void ads7846_setup_spi_msg (struct ads7846 *ts,const struct ads7846_platform_data *pdata) {struct spi_message *m = &ts->msg[0 ];
@@ -1192,7 +1192,7 @@ static void __devinit ads7846_setup_spi_msg(struct ads7846 *ts,spi_message_add_tail (x, m); } -static int __devinit ads7846_probe (struct spi_device *spi) +static int ads7846_probe (struct spi_device *spi) {struct ads7846 *ts;struct ads7846_packet *packet;
drivers/input/touchscreen/atmel_mxt_ts.c +1 -1
@@ -1095,7 +1095,7 @@ static void mxt_input_close(struct input_dev *dev)mxt_stop (data); } -static int __devinit mxt_probe (struct i2c_client *client, +static int mxt_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct mxt_platform_data *pdata = client->dev.platform_data;
drivers/input/touchscreen/atmel_tsadcc.c +1 -1
@@ -177,7 +177,7 @@ static irqreturn_t atmel_tsadcc_interrupt(int irq, void *dev)* The functions for inserting/removing us as a module. */ -static int __devinit atmel_tsadcc_probe (struct platform_device *pdev) +static int atmel_tsadcc_probe (struct platform_device *pdev) {struct atmel_tsadcc *ts_dev;struct input_dev *input_dev;
drivers/input/touchscreen/auo-pixcir-ts.c +2 -2
@@ -286,7 +286,7 @@ static int auo_pixcir_power_mode(struct auo_pixcir_ts *ts, int mode)return 0 ; } -static __devinit int auo_pixcir_int_config (struct auo_pixcir_ts *ts, +static int auo_pixcir_int_config (struct auo_pixcir_ts *ts,int int_setting) {struct i2c_client *client = ts->client;
@@ -482,7 +482,7 @@ unlock: static SIMPLE_DEV_PM_OPS(auo_pixcir_pm_ops, auo_pixcir_suspend, auo_pixcir_resume); -static int __devinit auo_pixcir_probe (struct i2c_client *client, +static int auo_pixcir_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct auo_pixcir_ts_platdata *pdata = client->dev.platform_data;
drivers/input/touchscreen/bu21013_ts.c +1 -1
@@ -429,7 +429,7 @@ static void bu21013_free_irq(struct bu21013_ts_data *bu21013_data)* This function used to initializes the i2c-client touchscreen * driver and returns integer. */ -static int __devinit bu21013_probe (struct i2c_client *client, +static int bu21013_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct bu21013_ts_data *bu21013_data;
drivers/input/touchscreen/cy8ctmg110_ts.c +1 -1
@@ -175,7 +175,7 @@ static irqreturn_t cy8ctmg110_irq_thread(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit cy8ctmg110_probe (struct i2c_client *client, +static int cy8ctmg110_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct cy8ctmg110_pdata *pdata = client->dev.platform_data;
drivers/input/touchscreen/cyttsp_i2c.c +1 -1
@@ -81,7 +81,7 @@ static const struct cyttsp_bus_ops cyttsp_i2c_bus_ops = { .read = cyttsp_i2c_read_block_data, }; -static int __devinit cyttsp_i2c_probe (struct i2c_client *client, +static int cyttsp_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct cyttsp *ts;
drivers/input/touchscreen/cyttsp_spi.c +1 -1
@@ -147,7 +147,7 @@ static const struct cyttsp_bus_ops cyttsp_spi_bus_ops = { .read = cyttsp_spi_read_block_data, }; -static int __devinit cyttsp_spi_probe (struct spi_device *spi) +static int cyttsp_spi_probe (struct spi_device *spi) {struct cyttsp *ts;int error;
drivers/input/touchscreen/da9034-ts.c +1 -1
@@ -297,7 +297,7 @@ static void da9034_touch_close(struct input_dev *dev) } -static int __devinit da9034_touch_probe (struct platform_device *pdev) +static int da9034_touch_probe (struct platform_device *pdev) {struct da9034_touch_pdata *pdata = pdev->dev.platform_data;struct da9034_touch *touch;
drivers/input/touchscreen/da9052_tsi.c +3 -3
@@ -143,7 +143,7 @@ static void da9052_ts_pen_work(struct work_struct *work) } } -static int __devinit da9052_ts_configure_gpio (struct da9052 *da9052) +static int da9052_ts_configure_gpio (struct da9052 *da9052) {int error;
@@ -162,7 +162,7 @@ static int __devinit da9052_ts_configure_gpio(struct da9052 *da9052)return 0 ; } -static int __devinit da9052_configure_tsi (struct da9052_tsi *tsi) +static int da9052_configure_tsi (struct da9052_tsi *tsi) {int error;
@@ -229,7 +229,7 @@ static void da9052_ts_input_close(struct input_dev *input_dev)da9052_reg_update (tsi->da9052,DA9052_TSI_CONT_A_REG ,1 <<1 ,0 ); } -static int __devinit da9052_ts_probe (struct platform_device *pdev) +static int da9052_ts_probe (struct platform_device *pdev) {struct da9052 *da9052;struct da9052_tsi *tsi;
drivers/input/touchscreen/edt-ft5x06.c +6 -6
@@ -575,7 +575,7 @@ static const struct file_operations debugfs_raw_data_fops = { .read = edt_ft5x06_debugfs_raw_data_read, }; -static void __devinit +static void edt_ft5x06_ts_prepare_debugfs (struct edt_ft5x06_ts_data *tsdata,const char *debugfs_name) {
@@ -617,7 +617,7 @@ edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata) -static int __devinit edt_ft5x06_ts_reset (struct i2c_client *client, +static int edt_ft5x06_ts_reset (struct i2c_client *client,int reset_pin) {int error;
@@ -641,7 +641,7 @@ static int __devinit edt_ft5x06_ts_reset(struct i2c_client *client,return 0 ; } -static int __devinit edt_ft5x06_ts_identify (struct i2c_client *client, +static int edt_ft5x06_ts_identify (struct i2c_client *client,char *model_name,char *fw_version) {
@@ -675,7 +675,7 @@ static int __devinit edt_ft5x06_ts_identify(struct i2c_client *client, pdata->name <= edt_ft5x06_attr_##name.limit_high) \ edt_ft5x06_register_write(tsdata, reg, pdata->name) -static void __devinit +static void edt_ft5x06_ts_get_defaults (struct edt_ft5x06_ts_data *tsdata,const struct edt_ft5x06_platform_data *pdata) {
@@ -689,7 +689,7 @@ edt_ft5x06_ts_get_defaults(struct edt_ft5x06_ts_data *tsdata,EDT_ATTR_CHECKSET (report_rate,WORK_REGISTER_REPORT_RATE ); } -static void __devinit +static void edt_ft5x06_ts_get_parameters (struct edt_ft5x06_ts_data *tsdata) { tsdata->threshold = edt_ft5x06_register_read(tsdata,
@@ -702,7 +702,7 @@ edt_ft5x06_ts_get_parameters(struct edt_ft5x06_ts_data *tsdata) tsdata->num_y =edt_ft5x06_register_read (tsdata,WORK_REGISTER_NUM_Y ); } -static int __devinit edt_ft5x06_ts_probe (struct i2c_client *client, +static int edt_ft5x06_ts_probe (struct i2c_client *client,const struct i2c_device_id *id) { const struct edt_ft5x06_platform_data *pdata =
drivers/input/touchscreen/eeti_ts.c +1 -1
@@ -154,7 +154,7 @@ static void eeti_ts_close(struct input_dev *dev)eeti_ts_stop (priv); } -static int __devinit eeti_ts_probe (struct i2c_client *client, +static int eeti_ts_probe (struct i2c_client *client,const struct i2c_device_id *idp) {struct eeti_ts_platform_data *pdata = client->dev.platform_data;
drivers/input/touchscreen/egalax_ts.c +2 -2
@@ -153,7 +153,7 @@ static int egalax_wake_up_device(struct i2c_client *client)return 0 ; } -static int __devinit egalax_firmware_version (struct i2c_client *client) +static int egalax_firmware_version (struct i2c_client *client) {static const u8 cmd[MAX_I2C_DATA_LEN ] = {0x03 ,0x03 ,0xa ,0x01 ,0x41 };int ret;
@@ -165,7 +165,7 @@ static int __devinit egalax_firmware_version(struct i2c_client *client)return 0 ; } -static int __devinit egalax_ts_probe (struct i2c_client *client, +static int egalax_ts_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct egalax_ts *ts;
drivers/input/touchscreen/htcpen.c +1 -1
@@ -102,7 +102,7 @@ static void htcpen_close(struct input_dev *dev)synchronize_irq (HTCPEN_IRQ ); } -static int __devinit htcpen_isa_probe (struct device *dev,unsigned int id) +static int htcpen_isa_probe (struct device *dev,unsigned int id) {struct input_dev *htcpen_dev;int err = -EBUSY ;
drivers/input/touchscreen/ili210x.c +1 -1
@@ -180,7 +180,7 @@ static const struct attribute_group ili210x_attr_group = { .attrs = ili210x_attributes, }; -static int __devinit ili210x_i2c_probe (struct i2c_client *client, +static int ili210x_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct device *dev = &client->dev;
drivers/input/touchscreen/intel-mid-touch.c +5 -5
@@ -427,7 +427,7 @@ out: }/* Utility to read PMIC ID */ -static int __devinit mrstouch_read_pmic_id (uint *vendor,uint *rev) +static int mrstouch_read_pmic_id (uint *vendor,uint *rev) {int err;u8 r;
@@ -446,7 +446,7 @@ static int __devinit mrstouch_read_pmic_id(uint *vendor, uint *rev)* Parse ADC channels to find end of the channel configured by other ADC user * NEC and MAXIM requires 4 channels and FreeScale needs 18 channels */ -static int __devinit mrstouch_chan_parse (struct mrstouch_dev *tsdev) +static int mrstouch_chan_parse (struct mrstouch_dev *tsdev) {int found =0 ;int err, i;
@@ -478,7 +478,7 @@ static int __devinit mrstouch_chan_parse(struct mrstouch_dev *tsdev)/* * Writes touch screen channels to ADC address selection registers */ -static int __devinit mrstouch_ts_chan_set (uint offset) +static int mrstouch_ts_chan_set (uint offset) {u16 chan;
@@ -494,7 +494,7 @@ static int __devinit mrstouch_ts_chan_set(uint offset) }/* Initialize ADC */ -static int __devinit mrstouch_adc_init (struct mrstouch_dev *tsdev) +static int mrstouch_adc_init (struct mrstouch_dev *tsdev) {int err, start;u8 ra, rm;
@@ -568,7 +568,7 @@ static int __devinit mrstouch_adc_init(struct mrstouch_dev *tsdev)/* Probe function for touch screen driver */ -static int __devinit mrstouch_probe (struct platform_device *pdev) +static int mrstouch_probe (struct platform_device *pdev) {struct mrstouch_dev *tsdev;struct input_dev *input;
drivers/input/touchscreen/jornada720_ts.c +1 -1
@@ -99,7 +99,7 @@ static irqreturn_t jornada720_ts_interrupt(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit jornada720_ts_probe (struct platform_device *pdev) +static int jornada720_ts_probe (struct platform_device *pdev) {struct jornada_ts *jornada_ts;struct input_dev *input_dev;
drivers/input/touchscreen/lpc32xx_ts.c +1 -1
@@ -203,7 +203,7 @@ static void lpc32xx_ts_close(struct input_dev *dev)lpc32xx_stop_tsc (tsc); } -static int __devinit lpc32xx_ts_probe (struct platform_device *pdev) +static int lpc32xx_ts_probe (struct platform_device *pdev) {struct lpc32xx_tsc *tsc;struct input_dev *input;
drivers/input/touchscreen/max11801_ts.c +2 -2
@@ -156,7 +156,7 @@ out:return IRQ_HANDLED ; } -static void __devinit max11801_ts_phy_init (struct max11801_data *data) +static void max11801_ts_phy_init (struct max11801_data *data) {struct i2c_client *client = data->client;
@@ -174,7 +174,7 @@ static void __devinit max11801_ts_phy_init(struct max11801_data *data)max11801_write_reg (client,OP_MODE_CONF_REG ,0x36 ); } -static int __devinit max11801_ts_probe (struct i2c_client *client, +static int max11801_ts_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct max11801_data *data;
drivers/input/touchscreen/mcs5000_ts.c +1 -1
@@ -187,7 +187,7 @@ static void mcs5000_ts_phys_init(struct mcs5000_ts_data *data) OP_MODE_ACTIVE | REPORT_RATE_80); } -static int __devinit mcs5000_ts_probe (struct i2c_client *client, +static int mcs5000_ts_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct mcs5000_ts_data *data;
drivers/input/touchscreen/mms114.c +2 -2
@@ -362,7 +362,7 @@ static void mms114_input_close(struct input_dev *dev) }#ifdef CONFIG_OF -static struct mms114_platform_data *__devinit mms114_parse_dt (struct device *dev) +static struct mms114_platform_data *mms114_parse_dt (struct device *dev) {struct mms114_platform_data *pdata;struct device_node *np = dev->of_node;
@@ -405,7 +405,7 @@ static inline struct mms114_platform_data *mms114_parse_dt(struct device *dev) }#endif -static int __devinit mms114_probe (struct i2c_client *client, +static int mms114_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct mms114_platform_data *pdata;
drivers/input/touchscreen/pcap_ts.c +1 -1
@@ -137,7 +137,7 @@ static void pcap_ts_close(struct input_dev *dev) pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT); } -static int __devinit pcap_ts_probe (struct platform_device *pdev) +static int pcap_ts_probe (struct platform_device *pdev) {struct input_dev *input_dev;struct pcap_ts *pcap_ts;
drivers/input/touchscreen/pixcir_i2c_ts.c +1 -1
@@ -125,7 +125,7 @@ static int pixcir_i2c_ts_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(pixcir_dev_pm_ops, pixcir_i2c_ts_suspend, pixcir_i2c_ts_resume); -static int __devinit pixcir_i2c_ts_probe (struct i2c_client *client, +static int pixcir_i2c_ts_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct pixcir_ts_platform_data *pdata = client->dev.platform_data;
drivers/input/touchscreen/s3c2410_ts.c +1 -1
@@ -238,7 +238,7 @@ static void s3c24xx_ts_select(struct s3c_adc_client *client, unsigned select)* Initialise, find and allocate any resources we need to run and then * register with the ADC and input systems. */ -static int __devinit s3c2410ts_probe (struct platform_device *pdev) +static int s3c2410ts_probe (struct platform_device *pdev) {struct s3c2410_ts_mach_info *info;struct device *dev = &pdev->dev;
drivers/input/touchscreen/st1232.c +1 -1
@@ -139,7 +139,7 @@ end:return IRQ_HANDLED ; } -static int __devinit st1232_ts_probe (struct i2c_client *client, +static int st1232_ts_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct st1232_ts_data *ts;
drivers/input/touchscreen/stmpe-ts.c +2 -2
@@ -167,7 +167,7 @@ static irqreturn_t stmpe_ts_handler(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit stmpe_init_hw (struct stmpe_touch *ts) +static int stmpe_init_hw (struct stmpe_touch *ts) {int ret;u8 adc_ctrl1, adc_ctrl1_mask, tsc_cfg, tsc_cfg_mask;
@@ -262,7 +262,7 @@ static void stmpe_ts_close(struct input_dev *dev) STMPE_TSC_CTRL_TSC_EN, 0); } -static int __devinit stmpe_input_probe (struct platform_device *pdev) +static int stmpe_input_probe (struct platform_device *pdev) {struct stmpe *stmpe =dev_get_drvdata (pdev->dev.parent);const struct stmpe_platform_data *pdata = stmpe->pdata;
drivers/input/touchscreen/ti_am335x_tsc.c +1 -1
@@ -258,7 +258,7 @@ static irqreturn_t titsc_irq(int irq, void *dev)* The functions for inserting/removing driver as a module. */ -static int __devinit titsc_probe (struct platform_device *pdev) +static int titsc_probe (struct platform_device *pdev) {struct titsc *ts_dev;struct input_dev *input_dev;
drivers/input/touchscreen/tnetv107x-ts.c +1 -1
@@ -243,7 +243,7 @@ static void tsc_stop(struct input_dev *dev)clk_disable (ts->clk); } -static int __devinit tsc_probe (struct platform_device *pdev) +static int tsc_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct tsc_data *ts;
drivers/input/touchscreen/tsc2005.c +2 -2
@@ -555,7 +555,7 @@ static void tsc2005_close(struct input_dev *input)mutex_unlock (&ts->mutex); } -static void __devinit tsc2005_setup_spi_xfer (struct tsc2005 *ts) +static void tsc2005_setup_spi_xfer (struct tsc2005 *ts) {tsc2005_setup_read (&ts->spi_x,TSC2005_REG_X , false);tsc2005_setup_read (&ts->spi_y,TSC2005_REG_Y , false);
@@ -569,7 +569,7 @@ static void __devinit tsc2005_setup_spi_xfer(struct tsc2005 *ts)spi_message_add_tail (&ts->spi_z2.spi_xfer, &ts->spi_read_msg); } -static int __devinit tsc2005_probe (struct spi_device *spi) +static int tsc2005_probe (struct spi_device *spi) {const struct tsc2005_platform_data *pdata = spi->dev.platform_data;struct tsc2005 *ts;
drivers/input/touchscreen/tsc2007.c +1 -1
@@ -273,7 +273,7 @@ static void tsc2007_close(struct input_dev *input_dev)tsc2007_stop (ts); } -static int __devinit tsc2007_probe (struct i2c_client *client, +static int tsc2007_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct tsc2007 *ts;
drivers/input/touchscreen/ucb1400_ts.c +2 -2
@@ -274,7 +274,7 @@ static void ucb1400_ts_close(struct input_dev *idev)* Try to probe our interrupt, rather than relying on lots of * hard-coded machine dependencies. */ -static int __devinit ucb1400_ts_detect_irq (struct ucb1400_ts *ucb, +static int ucb1400_ts_detect_irq (struct ucb1400_ts *ucb,struct platform_device *pdev) {unsigned long mask, timeout;
@@ -318,7 +318,7 @@ static int __devinit ucb1400_ts_detect_irq(struct ucb1400_ts *ucb,return 0 ; } -static int __devinit ucb1400_ts_probe (struct platform_device *pdev) +static int ucb1400_ts_probe (struct platform_device *pdev) {struct ucb1400_ts *ucb = pdev->dev.platform_data;int error, x_res, y_res;
drivers/input/touchscreen/w90p910_ts.c +1 -1
@@ -215,7 +215,7 @@ static void w90p910_close(struct input_dev *dev)clk_disable (w90p910_ts->clk); } -static int __devinit w90x900ts_probe (struct platform_device *pdev) +static int w90x900ts_probe (struct platform_device *pdev) {struct w90p910_ts *w90p910_ts;struct input_dev *input_dev;
drivers/input/touchscreen/wacom_i2c.c +1 -1
@@ -144,7 +144,7 @@ static void wacom_i2c_close(struct input_dev *dev)disable_irq (client->irq); } -static int __devinit wacom_i2c_probe (struct i2c_client *client, +static int wacom_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct wacom_i2c *wac_i2c;
drivers/input/touchscreen/wm831x-ts.c +1 -1
@@ -233,7 +233,7 @@ static void wm831x_ts_input_close(struct input_dev *idev) } } -static __devinit int wm831x_ts_probe (struct platform_device *pdev) +static int wm831x_ts_probe (struct platform_device *pdev) {struct wm831x_ts *wm831x_ts;struct wm831x *wm831x =dev_get_drvdata (pdev->dev.parent);
Signature · 1 line
1.8.0
PATCH 230/493 input: remove use of __devinit
Quoted 2 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/cebe5d84/attachment.sig>
PATCH 230/493 input: remove use of __devinit
In reply to Bill PembertonQuoted 6 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.drivers/input/touchscreen/cyttsp_i2c.c | 2 +- drivers/input/touchscreen/cyttsp_spi.c | 2 +-
For these two,
Thanks
Best regards,
Javier
PATCH 232/493 isdn: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/isdn/hardware/avm/b1pci.c | 2 +- drivers/isdn/hardware/avm/c4.c | 2 +- drivers/isdn/hardware/avm/t1pci.c | 2 +- drivers/isdn/hardware/eicon/divasmain.c | 2 +- drivers/isdn/hardware/mISDN/avmfritz.c | 4 ++-- drivers/isdn/hardware/mISDN/hfcpci.c | 2 +- drivers/isdn/hardware/mISDN/mISDNinfineon.c | 11 +++++------ drivers/isdn/hardware/mISDN/netjet.c | 4 ++-- drivers/isdn/hardware/mISDN/speedfax.c | 8 ++++---- drivers/isdn/hardware/mISDN/w6692.c | 2 +- drivers/isdn/hisax/amd7930_fn.c | 2 +- drivers/isdn/hisax/asuscom.c | 2 +- drivers/isdn/hisax/avm_a1.c | 2 +- drivers/isdn/hisax/avm_a1p.c | 2 +- drivers/isdn/hisax/avm_pci.c | 12 ++++++------ drivers/isdn/hisax/avma1_cs.c | 6 +++--- drivers/isdn/hisax/bkm_a4t.c | 6 +++--- drivers/isdn/hisax/bkm_a8.c | 4 ++-- drivers/isdn/hisax/config.c | 6 +++--- drivers/isdn/hisax/diva.c | 16 ++++++++-------- drivers/isdn/hisax/elsa.c | 14 +++++++------- drivers/isdn/hisax/elsa_cs.c | 6 +++--- drivers/isdn/hisax/enternow_pci.c | 8 ++++---- drivers/isdn/hisax/gazel.c | 6 +++--- drivers/isdn/hisax/hfc4s8s_l1.c | 4 ++-- drivers/isdn/hisax/hfc_pci.c | 2 +- drivers/isdn/hisax/hfc_sx.c | 2 +- drivers/isdn/hisax/hfcscard.c | 2 +- drivers/isdn/hisax/hisax_fcpcipnp.c | 9 ++++----- drivers/isdn/hisax/icc.c | 2 +- drivers/isdn/hisax/isac.c | 4 ++-- drivers/isdn/hisax/isurf.c | 2 +- drivers/isdn/hisax/ix1_micro.c | 2 +- drivers/isdn/hisax/mic.c | 2 +- drivers/isdn/hisax/niccy.c | 2 +- drivers/isdn/hisax/nj_s.c | 8 ++++---- drivers/isdn/hisax/nj_u.c | 8 ++++---- drivers/isdn/hisax/s0box.c | 2 +- drivers/isdn/hisax/saphir.c | 2 +- drivers/isdn/hisax/sedlbauer.c | 10 +++++----- drivers/isdn/hisax/sedlbauer_cs.c | 6 +++--- drivers/isdn/hisax/sportster.c | 4 ++-- drivers/isdn/hisax/teleint.c | 2 +- drivers/isdn/hisax/teles0.c | 2 +- drivers/isdn/hisax/teles3.c | 2 +- drivers/isdn/hisax/teles_cs.c | 6 +++--- drivers/isdn/hisax/telespci.c | 2 +- drivers/isdn/hisax/w6692.c | 2 +- drivers/isdn/hysdn/hysdn_init.c | 2 +- 49 files changed, 110 insertions(+), 112 deletions(-)
drivers/isdn/hardware/avm/b1pci.c +1 -1
@@ -299,7 +299,7 @@ static void b1pciv4_remove(struct pci_dev *pdev)#endif /* CONFIG_ISDN_DRV_AVMB1_B1PCIV4 */ -static int __devinit b1pci_pci_probe (struct pci_dev *pdev, +static int b1pci_pci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct capicardparams param;
drivers/isdn/hardware/avm/c4.c +1 -1
@@ -1249,7 +1249,7 @@ err:/* ------------------------------------------------------------- */ -static int __devinit c4_probe (struct pci_dev *dev, +static int c4_probe (struct pci_dev *dev,const struct pci_device_id *ent) {int nr = ent->driver_data;
drivers/isdn/hardware/avm/t1pci.c +1 -1
@@ -187,7 +187,7 @@ static char *t1pci_procinfo(struct capi_ctr *ctrl)/* ------------------------------------------------------------- */ -static int __devinit t1pci_probe (struct pci_dev *dev, +static int t1pci_probe (struct pci_dev *dev,const struct pci_device_id *ent) {struct capicardparams param;
drivers/isdn/hardware/eicon/divasmain.c +1 -1
@@ -688,7 +688,7 @@ static int __init divas_register_chrdev(void)/* -------------------------------------------------------------------------- PCI driver section -------------------------------------------------------------------------- */ -static int __devinit divas_init_one (struct pci_dev *pdev, +static int divas_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {void *pdiva =NULL ;
drivers/isdn/hardware/mISDN/avmfritz.c +2 -2
@@ -1034,7 +1034,7 @@ release_card(struct fritzcard *card) AVM_cnt--; } -static int __devinit +static int setup_instance (struct fritzcard *card) {int i, err;
@@ -1096,7 +1096,7 @@ error:return err; } -static int __devinit +static int fritzpci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hardware/mISDN/hfcpci.c +1 -1
@@ -2215,7 +2215,7 @@ static struct pci_device_id hfc_ids[] = {}, }; -static int __devinit +static int hfc_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hardware/mISDN/mISDNinfineon.c +5 -6
@@ -603,7 +603,7 @@ inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg)return ret; } -static int __devinit +static int init_irq (struct inf_hw *hw) {int ret, cnt =3 ;
@@ -662,7 +662,7 @@ release_io(struct inf_hw *hw) } } -static int __devinit +static int setup_io (struct inf_hw *hw) {int err =0 ;
@@ -896,7 +896,7 @@ release_card(struct inf_hw *card) { inf_cnt--; } -static int __devinit +static int setup_instance (struct inf_hw *card) {int err;
@@ -1060,8 +1060,7 @@ static const struct inf_cinfo inf_card_info[] = { } }; -static const struct inf_cinfo *__devinit -get_card_info (enum inf_types typ) +static const struct inf_cinfo *get_card_info (enum inf_types typ) {const struct inf_cinfo *ci = inf_card_info;
@@ -1073,7 +1072,7 @@ get_card_info(enum inf_types typ)return NULL ; } -static int __devinit +static int inf_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hardware/mISDN/netjet.c +2 -2
@@ -1008,7 +1008,7 @@ nj_setup(struct tiger_hw *card) } -static int __devinit +static int setup_instance (struct tiger_hw *card) {int i, err;
@@ -1059,7 +1059,7 @@ error:return err; } -static int __devinit +static int nj_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hardware/mISDN/speedfax.c +4 -4
@@ -282,7 +282,7 @@ sfax_dctrl(struct mISDNchannel *ch, u32 cmd, void *arg)return err; } -static int __devinit +static int init_card (struct sfax_hw *sf) {int ret, cnt =3 ;
@@ -321,7 +321,7 @@ init_card(struct sfax_hw *sf) } -static int __devinit +static int setup_speedfax (struct sfax_hw *sf) {u_long flags;
@@ -371,7 +371,7 @@ release_card(struct sfax_hw *card) { sfax_cnt--; } -static int __devinit +static int setup_instance (struct sfax_hw *card) {const struct firmware *firmware;
@@ -451,7 +451,7 @@ error_fw:return err; } -static int __devinit +static int sfaxpci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hardware/mISDN/w6692.c +1 -1
@@ -1355,7 +1355,7 @@ error_setup:return err; } -static int __devinit +static int w6692_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hisax/amd7930_fn.c +1 -1
@@ -786,7 +786,7 @@ void Amd7930_init(struct IsdnCardState *cs) } } -void __devinit +void setup_Amd7930 (struct IsdnCardState *cs) {INIT_WORK (&cs->tqueue, Amd7930_bh);
drivers/isdn/hisax/asuscom.c +1 -1
@@ -315,7 +315,7 @@ static struct isapnp_device_id *ipid __devinitdata = &asus_ids[0];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif -int __devinit +int setup_asuscom (struct IsdnCard *card) {int bytecnt;
drivers/isdn/hisax/avm_a1.c +1 -1
@@ -177,7 +177,7 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -int __devinit +int setup_avm_a1 (struct IsdnCard *card) {u_char val;
drivers/isdn/hisax/avm_a1p.c +1 -1
@@ -213,7 +213,7 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)return 0 ; } -int __devinit setup_avm_a1_pcmcia (struct IsdnCard *card) +int setup_avm_a1_pcmcia (struct IsdnCard *card) {u_char model, vers;struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/avm_pci.c +6 -6
@@ -718,7 +718,7 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit avm_setup_rest (struct IsdnCardState *cs) +static int avm_setup_rest (struct IsdnCardState *cs) {u_int val, ver;
@@ -770,7 +770,7 @@ static int __devinit avm_setup_rest(struct IsdnCardState *cs)#ifndef __ISAPNP__ -static int __devinit avm_pnp_setup (struct IsdnCardState *cs) +static int avm_pnp_setup (struct IsdnCardState *cs) {return (1 );/* no-op: success */ }
@@ -779,7 +779,7 @@ static int __devinit avm_pnp_setup(struct IsdnCardState *cs)static struct pnp_card *pnp_avm_c__devinitdata =NULL ; -static int __devinit avm_pnp_setup (struct IsdnCardState *cs) +static int avm_pnp_setup (struct IsdnCardState *cs) {struct pnp_dev *pnp_avm_d =NULL ;
@@ -825,7 +825,7 @@ static int __devinit avm_pnp_setup(struct IsdnCardState *cs)#ifndef CONFIG_PCI -static int __devinit avm_pci_setup (struct IsdnCardState *cs) +static int avm_pci_setup (struct IsdnCardState *cs) {return (1 );/* no-op: success */ }
@@ -834,7 +834,7 @@ static int __devinit avm_pci_setup(struct IsdnCardState *cs)static struct pci_dev *dev_avm__devinitdata =NULL ; -static int __devinit avm_pci_setup (struct IsdnCardState *cs) +static int avm_pci_setup (struct IsdnCardState *cs) {if ((dev_avm =hisax_find_pci_device (PCI_VENDOR_ID_AVM ,PCI_DEVICE_ID_AVM_A1 , dev_avm))) {
@@ -867,7 +867,7 @@ static int __devinit avm_pci_setup(struct IsdnCardState *cs)#endif /* CONFIG_PCI */ -int __devinit +int setup_avm_pcipnp (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/avma1_cs.c +3 -3
@@ -38,11 +38,11 @@ module_param(isdnprot, int, 0);/*====================================================================*/ -static int avma1cs_config (struct pcmcia_device *link)__devinit ; +static int avma1cs_config (struct pcmcia_device *link);static void avma1cs_release (struct pcmcia_device *link); static void avma1cs_detach(struct pcmcia_device *p_dev) __devexit; -static int __devinit avma1cs_probe (struct pcmcia_device *p_dev) +static int avma1cs_probe (struct pcmcia_device *p_dev) {dev_dbg (&p_dev->dev,"avma1cs_attach()\n" );
@@ -72,7 +72,7 @@ static int avma1cs_configcheck(struct pcmcia_device *p_dev, void *priv_data) } -static int __devinit avma1cs_config (struct pcmcia_device *link) +static int avma1cs_config (struct pcmcia_device *link) {int i =-1 ;char devname[128 ];
drivers/isdn/hisax/bkm_a4t.c +3 -3
@@ -253,7 +253,7 @@ BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit a4t_pci_probe (struct pci_dev *dev_a4t, +static int a4t_pci_probe (struct pci_dev *dev_a4t,struct IsdnCardState *cs,u_int *found,u_int *pci_memaddr)
@@ -275,7 +275,7 @@ static int __devinit a4t_pci_probe(struct pci_dev *dev_a4t,return (-1 );/* continue looping */ } -static int __devinit a4t_cs_init (struct IsdnCard *card, +static int a4t_cs_init (struct IsdnCard *card,struct IsdnCardState *cs,u_int pci_memaddr) {
@@ -325,7 +325,7 @@ static int __devinit a4t_cs_init(struct IsdnCard *card,static struct pci_dev *dev_a4t__devinitdata =NULL ; -int __devinit +int setup_bkm_a4t (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/bkm_a8.c +2 -2
@@ -255,7 +255,7 @@ BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit +static int sct_alloc_io (u_int adr,u_int len) {if (!request_region (adr, len,"scitel" )) {
@@ -274,7 +274,7 @@ static u_char pci_bus __devinitdata = 0;static u_char pci_device_fn__devinitdata =0 ;static u_char pci_irq__devinitdata =0 ; -int __devinit +int setup_sct_quadro (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/config.c +3 -3
@@ -852,7 +852,7 @@ static int init_card(struct IsdnCardState *cs)return 3 ; } -static int __devinit hisax_cs_setup_card (struct IsdnCard *card) +static int hisax_cs_setup_card (struct IsdnCard *card) {int ret;
@@ -1171,7 +1171,7 @@ outf_cs:return 0 ; } -/* Used from an exported function but calls __devinit functions. +/* Used from an exported function but calls functions. * Tell modpost not to warn (__ref) */ static int __ref checkcard(int cardnr, char *id, int *busy_flag,
@@ -1547,7 +1547,7 @@ static void __exit HiSax_exit(void)printk (KERN_INFO "HiSax module removed\n" ); } -int __devinit hisax_init_pcmcia (void *pcm_iob,int *busy_flag,struct IsdnCard *card) +int hisax_init_pcmcia (void *pcm_iob,int *busy_flag,struct IsdnCard *card) {u_char ids[16 ];int ret =-1 ;
drivers/isdn/hisax/diva.c +8 -8
@@ -904,7 +904,7 @@ Diva_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit setup_diva_common (struct IsdnCardState *cs) +static int setup_diva_common (struct IsdnCardState *cs) {int bytecnt;u_char val;
@@ -997,7 +997,7 @@ static int __devinit setup_diva_common(struct IsdnCardState *cs)#ifdef CONFIG_ISA -static int __devinit setup_diva_isa (struct IsdnCard *card) +static int setup_diva_isa (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;u_char val;
@@ -1033,7 +1033,7 @@ static int __devinit setup_diva_isa(struct IsdnCard *card)#else /* if !CONFIG_ISA */ -static int __devinit setup_diva_isa (struct IsdnCard *card) +static int setup_diva_isa (struct IsdnCard *card) {return (-1 );/* card not found; continue search */ }
@@ -1066,7 +1066,7 @@ static struct isapnp_device_id diva_ids[] __devinitdata = {static struct isapnp_device_id *ipid__devinitdata = &diva_ids[0 ];static struct pnp_card *pnp_c__devinitdata =NULL ; -static int __devinit setup_diva_isapnp (struct IsdnCard *card) +static int setup_diva_isapnp (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;struct pnp_dev *pnp_d;
@@ -1141,7 +1141,7 @@ static int __devinit setup_diva_isapnp(struct IsdnCard *card)#else /* if !ISAPNP */ -static int __devinit setup_diva_isapnp (struct IsdnCard *card) +static int setup_diva_isapnp (struct IsdnCard *card) {return (-1 );/* card not found; continue search */ }
@@ -1154,7 +1154,7 @@ static struct pci_dev *dev_diva_u __devinitdata = NULL;static struct pci_dev *dev_diva201__devinitdata =NULL ;static struct pci_dev *dev_diva202__devinitdata =NULL ; -static int __devinit setup_diva_pci (struct IsdnCard *card) +static int setup_diva_pci (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -1231,14 +1231,14 @@ static int __devinit setup_diva_pci(struct IsdnCard *card)#else /* if !CONFIG_PCI */ -static int __devinit setup_diva_pci (struct IsdnCard *card) +static int setup_diva_pci (struct IsdnCard *card) {return (-1 );/* card not found; continue search */ }#endif /* CONFIG_PCI */ -int __devinit +int setup_diva (struct IsdnCard *card) {int rc, have_card =0 ;
drivers/isdn/hisax/elsa.c +7 -7
@@ -831,7 +831,7 @@ probe_elsa(struct IsdnCardState *cs)return (CARD_portlist[i]); } -static int __devinit +static int setup_elsa_isa (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -916,7 +916,7 @@ static struct isapnp_device_id *ipid __devinitdata = &elsa_ids[0];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif /* __ISAPNP__ */ -static int __devinit +static int setup_elsa_isapnp (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -994,7 +994,7 @@ setup_elsa_isapnp(struct IsdnCard *card)return (1 ); } -static void __devinit +static void setup_elsa_pcmcia (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -1030,7 +1030,7 @@ setup_elsa_pcmcia(struct IsdnCard *card)static struct pci_dev *dev_qs1000__devinitdata =NULL ;static struct pci_dev *dev_qs3000__devinitdata =NULL ; -static int __devinit +static int setup_elsa_pci (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -1089,14 +1089,14 @@ setup_elsa_pci(struct IsdnCard *card)#else -static int __devinit +static int setup_elsa_pci (struct IsdnCard *card) {return (1 ); }#endif /* CONFIG_PCI */ -static int __devinit +static int setup_elsa_common (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -1212,7 +1212,7 @@ setup_elsa_common(struct IsdnCard *card)return (1 ); } -int __devinit +int setup_elsa (struct IsdnCard *card) {int rc;
drivers/isdn/hisax/elsa_cs.c +3 -3
@@ -62,7 +62,7 @@ MODULE_LICENSE("Dual MPL/GPL");static int protocol =2 ;/* EURO-ISDN Default */ module_param (protocol, int,0 ); -static int elsa_cs_config (struct pcmcia_device *link)__devinit ; +static int elsa_cs_config (struct pcmcia_device *link);static void elsa_cs_release (struct pcmcia_device *link); static void elsa_cs_detach(struct pcmcia_device *p_dev) __devexit;
@@ -72,7 +72,7 @@ typedef struct local_info_t {int cardnr; } local_info_t; -static int __devinit elsa_cs_probe (struct pcmcia_device *link) +static int elsa_cs_probe (struct pcmcia_device *link) {local_info_t *local;
@@ -126,7 +126,7 @@ static int elsa_cs_configcheck(struct pcmcia_device *p_dev, void *priv_data)return -ENODEV ; } -static int __devinit elsa_cs_config (struct pcmcia_device *link) +static int elsa_cs_config (struct pcmcia_device *link) {int i;IsdnCard_t icard;
drivers/isdn/hisax/enternow_pci.c +4 -4
@@ -300,7 +300,7 @@ enpci_interrupt(int intno, void *dev_id)return IRQ_HANDLED ; } -static int __devinit en_pci_probe (struct pci_dev *dev_netjet, +static int en_pci_probe (struct pci_dev *dev_netjet,struct IsdnCardState *cs) {if (pci_enable_device (dev_netjet))
@@ -326,7 +326,7 @@ static int __devinit en_pci_probe(struct pci_dev *dev_netjet,return (1 ); } -static void __devinit en_cs_init (struct IsdnCard *card, +static void en_cs_init (struct IsdnCard *card,struct IsdnCardState *cs) { cs->hw.njet.auxa = cs->hw.njet.base +NETJET_AUXDATA ;
@@ -350,7 +350,7 @@ static void __devinit en_cs_init(struct IsdnCard *card,outb (cs->hw.njet.auxd, cs->hw.njet.auxa); } -static int __devinit en_cs_init_rest (struct IsdnCard *card, +static int en_cs_init_rest (struct IsdnCard *card,struct IsdnCardState *cs) {const int bytecnt =256 ;
@@ -387,7 +387,7 @@ static int __devinit en_cs_init_rest(struct IsdnCard *card,static struct pci_dev *dev_netjet__devinitdata =NULL ;/* called by config.c */ -int __devinit +int setup_enternow_pci (struct IsdnCard *card) {int ret;
drivers/isdn/hisax/gazel.c +3 -3
@@ -483,7 +483,7 @@ error:return 1 ; } -static int __devinit +static int setup_gazelisa (struct IsdnCard *card,struct IsdnCardState *cs) {printk (KERN_INFO "Gazel: ISA PnP card automatic recognition\n" );
@@ -534,7 +534,7 @@ setup_gazelisa(struct IsdnCard *card, struct IsdnCardState *cs)#ifdef CONFIG_PCI static struct pci_dev *dev_tel__devinitdata =NULL ; -static int __devinit +static int setup_gazelpci (struct IsdnCardState *cs) {u_int pci_ioaddr0 =0 , pci_ioaddr1 =0 ;
@@ -622,7 +622,7 @@ setup_gazelpci(struct IsdnCardState *cs) }#endif /* CONFIG_PCI */ -int __devinit +int setup_gazel (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/hfc4s8s_l1.c +2 -2
@@ -1497,7 +1497,7 @@ enable_pci_ports(hfc4s8s_hw *hw)/* initialise the HFC-4s/8s hardware */ /* return 0 on success. */ /*************************************/ -static int __devinit +static int setup_instance (hfc4s8s_hw *hw) {int err = -EIO ;
@@ -1585,7 +1585,7 @@ out:/*****************************************/ /* PCI hotplug interface: probe new card */ /*****************************************/ -static int __devinit +static int hfc4s8s_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int err = -ENOMEM ;
drivers/isdn/hisax/hfc_pci.c +1 -1
@@ -1634,7 +1634,7 @@ hfcpci_card_msg(struct IsdnCardState *cs, int mt, void *arg)/* this variable is used as card index when more than one cards are present */ static struct pci_dev *dev_hfcpci__devinitdata =NULL ; -int __devinit +int setup_hfcpci (struct IsdnCard *card) {u_long flags;
drivers/isdn/hisax/hfc_sx.c +1 -1
@@ -1392,7 +1392,7 @@ static struct isapnp_device_id *ipid __devinitdata = &hfc_ids[0];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif -int __devinit +int setup_hfcsx (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/hfcscard.c +1 -1
@@ -165,7 +165,7 @@ static struct isapnp_device_id *ipid __devinitdata = &hfc_ids[0];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif -int __devinit +int setup_hfcs (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/hisax_fcpcipnp.c +4 -5
@@ -712,7 +712,7 @@ static inline void fcpci_init(struct fritz_adapter *adapter)// ---------------------------------------------------------------------- -static int __devinit fcpcipnp_setup (struct fritz_adapter *adapter) +static int fcpcipnp_setup (struct fritz_adapter *adapter) {u32 val =0 ;int retval;
@@ -836,8 +836,7 @@ static void __devexit fcpcipnp_release(struct fritz_adapter *adapter)// ---------------------------------------------------------------------- -static struct fritz_adapter *__devinit -new_adapter (void ) +static struct fritz_adapter *new_adapter (void ) {struct fritz_adapter *adapter;struct hisax_b_if *b_if[2 ];
@@ -876,7 +875,7 @@ static void delete_adapter(struct fritz_adapter *adapter)kfree (adapter); } -static int __devinit fcpci_probe (struct pci_dev *pdev, +static int fcpci_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct fritz_adapter *adapter;
@@ -917,7 +916,7 @@ err: }#ifdef CONFIG_PNP -static int __devinit fcpnp_probe (struct pnp_dev *pdev,const struct pnp_device_id *dev_id) +static int fcpnp_probe (struct pnp_dev *pdev,const struct pnp_device_id *dev_id) {struct fritz_adapter *adapter;int retval;
drivers/isdn/hisax/icc.c +1 -1
@@ -673,7 +673,7 @@ clear_pending_icc_ints(struct IsdnCardState *cs) cs->writeisac (cs,ICC_MASK ,0xFF ); } -void __devinit +void setup_icc (struct IsdnCardState *cs) {INIT_WORK (&cs->tqueue, icc_bh);
drivers/isdn/hisax/isac.c +2 -2
@@ -28,7 +28,7 @@ static char *ISACVer[] __devinitdata = {"2086/2186 V1.1" ,"2085 B1" ,"2085 B2" , "2085 V2.3"}; -void __devinit ISACVersion (struct IsdnCardState *cs,char *s) +void ISACVersion (struct IsdnCardState *cs,char *s) {int val;
@@ -669,7 +669,7 @@ void clear_pending_isac_ints(struct IsdnCardState *cs) cs->writeisac (cs,ISAC_MASK ,0xFF ); } -void __devinit +void setup_isac (struct IsdnCardState *cs) {INIT_WORK (&cs->tqueue, isac_bh);
drivers/isdn/hisax/isurf.c +1 -1
@@ -197,7 +197,7 @@ isurf_auxcmd(struct IsdnCardState *cs, isdn_ctrl *ic) {static struct pnp_card *pnp_c__devinitdata =NULL ;#endif -int __devinit +int setup_isurf (struct IsdnCard *card) {int ver;
drivers/isdn/hisax/ix1_micro.c +1 -1
@@ -224,7 +224,7 @@ static struct pnp_card *pnp_c __devinitdata = NULL;#endif -int __devinit +int setup_ix1micro (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/mic.c +1 -1
@@ -187,7 +187,7 @@ mic_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -int __devinit +int setup_mic (struct IsdnCard *card) {int bytecnt;
drivers/isdn/hisax/niccy.c +1 -1
@@ -226,7 +226,7 @@ static int niccy_card_msg(struct IsdnCardState *cs, int mt, void *arg)static struct pnp_card *pnp_c__devinitdata =NULL ;#endif -int __devinit setup_niccy (struct IsdnCard *card) +int setup_niccy (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;char tmp[64 ];
drivers/isdn/hisax/nj_s.c +4 -4
@@ -148,7 +148,7 @@ NETjet_S_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit njs_pci_probe (struct pci_dev *dev_netjet, +static int njs_pci_probe (struct pci_dev *dev_netjet,struct IsdnCardState *cs) {u32 cfg;
@@ -187,7 +187,7 @@ static int __devinit njs_pci_probe(struct pci_dev *dev_netjet,return (1 ); } -static int __devinit njs_cs_init (struct IsdnCard *card, +static int njs_cs_init (struct IsdnCard *card,struct IsdnCardState *cs) {
@@ -225,7 +225,7 @@ static int __devinit njs_cs_init(struct IsdnCard *card,return 1 ;/* end loop */ } -static int __devinit njs_cs_init_rest (struct IsdnCard *card, +static int njs_cs_init_rest (struct IsdnCard *card,struct IsdnCardState *cs) {const int bytecnt =256 ;
@@ -258,7 +258,7 @@ static int __devinit njs_cs_init_rest(struct IsdnCard *card,static struct pci_dev *dev_netjet__devinitdata =NULL ; -int __devinit +int setup_netjet_s (struct IsdnCard *card) {int ret;
drivers/isdn/hisax/nj_u.c +4 -4
@@ -128,7 +128,7 @@ NETjet_U_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit nju_pci_probe (struct pci_dev *dev_netjet, +static int nju_pci_probe (struct pci_dev *dev_netjet,struct IsdnCardState *cs) {if (pci_enable_device (dev_netjet))
@@ -148,7 +148,7 @@ static int __devinit nju_pci_probe(struct pci_dev *dev_netjet,return (1 ); } -static int __devinit nju_cs_init (struct IsdnCard *card, +static int nju_cs_init (struct IsdnCard *card,struct IsdnCardState *cs) { cs->hw.njet.auxa = cs->hw.njet.base +NETJET_AUXDATA ;
@@ -187,7 +187,7 @@ static int __devinit nju_cs_init(struct IsdnCard *card,return 1 ;/* end loop */ } -static int __devinit nju_cs_init_rest (struct IsdnCard *card, +static int nju_cs_init_rest (struct IsdnCard *card,struct IsdnCardState *cs) {const int bytecnt =256 ;
@@ -221,7 +221,7 @@ static int __devinit nju_cs_init_rest(struct IsdnCard *card,static struct pci_dev *dev_netjet__devinitdata =NULL ; -int __devinit +int setup_netjet_u (struct IsdnCard *card) {int ret;
drivers/isdn/hisax/s0box.c +1 -1
@@ -210,7 +210,7 @@ S0Box_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -int __devinit +int setup_s0box (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/saphir.c +1 -1
@@ -240,7 +240,7 @@ saphir_card_msg(struct IsdnCardState *cs, int mt, void *arg) } -int __devinit +int setup_saphir (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/sedlbauer.c +5 -5
@@ -530,7 +530,7 @@ static struct isapnp_device_id sedl_ids[] __devinitdata = {static struct isapnp_device_id *ipid__devinitdata = &sedl_ids[0 ];static struct pnp_card *pnp_c__devinitdata =NULL ; -static int __devinit +static int setup_sedlbauer_isapnp (struct IsdnCard *card,int *bytecnt) {struct IsdnCardState *cs = card->cs;
@@ -591,7 +591,7 @@ setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt) }#else -static int __devinit +static int setup_sedlbauer_isapnp (struct IsdnCard *card,int *bytecnt) {return -1 ;
@@ -601,7 +601,7 @@ setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt)#ifdef CONFIG_PCI static struct pci_dev *dev_sedl__devinitdata =NULL ; -static int __devinit +static int setup_sedlbauer_pci (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
@@ -667,7 +667,7 @@ setup_sedlbauer_pci(struct IsdnCard *card)#else -static int __devinit +static int setup_sedlbauer_pci (struct IsdnCard *card) {return (1 );
@@ -675,7 +675,7 @@ setup_sedlbauer_pci(struct IsdnCard *card)#endif /* CONFIG_PCI */ -int __devinit +int setup_sedlbauer (struct IsdnCard *card) {int bytecnt =8 , ver, val, rc;
drivers/isdn/hisax/sedlbauer_cs.c +3 -3
@@ -62,7 +62,7 @@ MODULE_LICENSE("Dual MPL/GPL");static int protocol =2 ;/* EURO-ISDN Default */ module_param (protocol, int,0 ); -static int sedlbauer_config (struct pcmcia_device *link)__devinit ; +static int sedlbauer_config (struct pcmcia_device *link);static void sedlbauer_release (struct pcmcia_device *link); static void sedlbauer_detach(struct pcmcia_device *p_dev) __devexit;
@@ -73,7 +73,7 @@ typedef struct local_info_t {int cardnr; } local_info_t; -static int __devinit sedlbauer_probe (struct pcmcia_device *link) +static int sedlbauer_probe (struct pcmcia_device *link) {local_info_t *local;
@@ -110,7 +110,7 @@ static int sedlbauer_config_check(struct pcmcia_device *p_dev, void *priv_data)return pcmcia_request_io (p_dev); } -static int __devinit sedlbauer_config (struct pcmcia_device *link) +static int sedlbauer_config (struct pcmcia_device *link) {int ret;IsdnCard_t icard;
drivers/isdn/hisax/sportster.c +2 -2
@@ -183,7 +183,7 @@ Sportster_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -static int __devinit +static int get_io_range (struct IsdnCardState *cs) {int i, j, adr;
@@ -208,7 +208,7 @@ get_io_range(struct IsdnCardState *cs) } } -int __devinit +int setup_sportster (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/teleint.c +1 -1
@@ -259,7 +259,7 @@ TeleInt_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -int __devinit +int setup_TeleInt (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/teles0.c +1 -1
@@ -263,7 +263,7 @@ Teles_card_msg(struct IsdnCardState *cs, int mt, void *arg)return (0 ); } -int __devinit +int setup_teles0 (struct IsdnCard *card) {u_char val;
drivers/isdn/hisax/teles3.c +1 -1
@@ -270,7 +270,7 @@ static struct isapnp_device_id *ipid __devinitdata = &teles_ids[0];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif -int __devinit +int setup_teles3 (struct IsdnCard *card) {u_char val;
drivers/isdn/hisax/teles_cs.c +3 -3
@@ -43,7 +43,7 @@ MODULE_LICENSE("GPL");static int protocol =2 ;/* EURO-ISDN Default */ module_param (protocol, int,0 ); -static int teles_cs_config (struct pcmcia_device *link)__devinit ; +static int teles_cs_config (struct pcmcia_device *link);static void teles_cs_release (struct pcmcia_device *link); static void teles_detach(struct pcmcia_device *p_dev) __devexit;
@@ -53,7 +53,7 @@ typedef struct local_info_t {int cardnr; } local_info_t; -static int __devinit teles_probe (struct pcmcia_device *link) +static int teles_probe (struct pcmcia_device *link) {local_info_t *local;
@@ -108,7 +108,7 @@ static int teles_cs_configcheck(struct pcmcia_device *p_dev, void *priv_data)return -ENODEV ; } -static int __devinit teles_cs_config (struct pcmcia_device *link) +static int teles_cs_config (struct pcmcia_device *link) {int i;IsdnCard_t icard;
drivers/isdn/hisax/telespci.c +1 -1
@@ -285,7 +285,7 @@ TelesPCI_card_msg(struct IsdnCardState *cs, int mt, void *arg)static struct pci_dev *dev_tel__devinitdata =NULL ; -int __devinit +int setup_telespci (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hisax/w6692.c +1 -1
@@ -993,7 +993,7 @@ static int id_idx;static struct pci_dev *dev_w6692__devinitdata =NULL ; -int __devinit +int setup_w6692 (struct IsdnCard *card) {struct IsdnCardState *cs = card->cs;
drivers/isdn/hysdn/hysdn_init.c +1 -1
@@ -56,7 +56,7 @@ static hysdn_card *card_last = NULL; /* pointer to first card *//* is assumed and the module will not be kept in memory. */ /****************************************************************************/ -static int __devinit hysdn_pci_init_one (struct pci_dev *akt_pcidev, +static int hysdn_pci_init_one (struct pci_dev *akt_pcidev,const struct pci_device_id *ent) {hysdn_card *card;
Signature · 1 line
1.8.0
PATCH 234/493 media: remove use of __devinit
In reply to a message not in the archiveCONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.
--- drivers/media/i2c/adv7180.c | 2 +- drivers/media/i2c/as3645a.c | 4 ++-- drivers/media/i2c/m5mols/m5mols_core.c | 2 +- drivers/media/i2c/vs6624.c | 2 +- drivers/media/mmc/siano/smssdio.c | 2 +- drivers/media/pci/bt8xx/bt878.c | 4 ++-- drivers/media/pci/bt8xx/bttv-cards.c | 26 +++++++++++----------- drivers/media/pci/bt8xx/bttv-driver.c | 4 ++-- drivers/media/pci/bt8xx/bttv-i2c.c | 4 ++-- drivers/media/pci/bt8xx/bttv-input.c | 2 +- drivers/media/pci/bt8xx/dvb-bt8xx.c | 6 ++--- drivers/media/pci/cx18/cx18-driver.c | 10 ++++----- drivers/media/pci/cx23885/cx23885-core.c | 2 +- drivers/media/pci/cx25821/cx25821-core.c | 2 +- drivers/media/pci/cx88/cx88-alsa.c | 6 ++--- drivers/media/pci/cx88/cx88-mpeg.c | 2 +- drivers/media/pci/cx88/cx88-video.c | 2 +- drivers/media/pci/ddbridge/ddbridge-core.c | 2 +- drivers/media/pci/dm1105/dm1105.c | 12 +++++----- drivers/media/pci/ivtv/ivtv-driver.c | 6 ++--- drivers/media/pci/mantis/hopper_cards.c | 4 ++-- drivers/media/pci/mantis/mantis_cards.c | 4 ++-- drivers/media/pci/mantis/mantis_dvb.c | 2 +- drivers/media/pci/mantis/mantis_i2c.c | 2 +- drivers/media/pci/mantis/mantis_pci.c | 2 +- drivers/media/pci/meye/meye.c | 2 +- drivers/media/pci/ngene/ngene-core.c | 2 +- drivers/media/pci/ngene/ngene.h | 2 +- drivers/media/pci/pluto2/pluto2.c | 16 ++++++------- drivers/media/pci/pt1/pt1.c | 2 +- drivers/media/pci/saa7134/saa7134-core.c | 4 ++-- drivers/media/pci/saa7164/saa7164-core.c | 2 +- drivers/media/pci/sta2x11/sta2x11_vip.c | 2 +- drivers/media/pci/ttpci/av7110.c | 2 +- drivers/media/pci/ttpci/av7110_ir.c | 2 +- drivers/media/pci/zoran/zoran_card.c | 9 ++++---- drivers/media/platform/blackfin/bfin_capture.c | 2 +- drivers/media/platform/coda.c | 2 +- drivers/media/platform/davinci/dm355_ccdc.c | 2 +- drivers/media/platform/davinci/dm644x_ccdc.c | 2 +- drivers/media/platform/davinci/isif.c | 2 +- drivers/media/platform/davinci/vpbe.c | 2 +- drivers/media/platform/davinci/vpbe_display.c | 6 ++--- drivers/media/platform/davinci/vpfe_capture.c | 2 +- drivers/media/platform/davinci/vpif.c | 2 +- drivers/media/platform/davinci/vpss.c | 2 +- drivers/media/platform/fsl-viu.c | 2 +- drivers/media/platform/omap24xxcam.c | 2 +- drivers/media/platform/omap3isp/isp.c | 2 +- drivers/media/platform/s5p-fimc/fimc-lite.c | 2 +- drivers/media/platform/s5p-fimc/mipi-csis.c | 2 +- drivers/media/platform/s5p-tv/hdmi_drv.c | 2 +- drivers/media/platform/s5p-tv/hdmiphy_drv.c | 2 +- drivers/media/platform/s5p-tv/mixer.h | 2 +- drivers/media/platform/s5p-tv/mixer_drv.c | 8 +++---- drivers/media/platform/s5p-tv/mixer_video.c | 2 +- drivers/media/platform/s5p-tv/sdo_drv.c | 2 +- drivers/media/platform/s5p-tv/sii9234_drv.c | 2 +- drivers/media/platform/sh_vou.c | 2 +- drivers/media/platform/soc_camera/atmel-isi.c | 2 +- drivers/media/platform/soc_camera/mx2_camera.c | 4 ++-- drivers/media/platform/soc_camera/mx3_camera.c | 2 +- drivers/media/platform/soc_camera/pxa_camera.c | 2 +- .../platform/soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/platform/soc_camera/sh_mobile_csi2.c | 2 +- drivers/media/platform/soc_camera/soc_camera.c | 2 +- drivers/media/platform/timblogiw.c | 2 +- drivers/media/platform/via-camera.c | 4 ++-- drivers/media/radio/radio-maxiradio.c | 2 +- drivers/media/radio/radio-sf16fmr2.c | 6 ++--- drivers/media/radio/radio-tea5764.c | 2 +- drivers/media/radio/radio-timb.c | 2 +- drivers/media/radio/radio-wl1273.c | 2 +- drivers/media/radio/saa7706h.c | 2 +- drivers/media/radio/si470x/radio-si470x-i2c.c | 2 +- drivers/media/radio/tef6862.c | 2 +- drivers/media/rc/gpio-ir-recv.c | 2 +- drivers/media/rc/iguanair.c | 2 +- drivers/media/rc/imon.c | 2 +- drivers/media/rc/ir-rx51.c | 2 +- drivers/media/rc/mceusb.c | 2 +- drivers/media/rc/redrat3.c | 2 +- drivers/media/rc/streamzap.c | 2 +- drivers/media/rc/ttusbir.c | 2 +- drivers/media/rc/winbond-cir.c | 2 +- drivers/media/usb/gspca/spca506.c | 2 +- drivers/media/usb/siano/smsusb.c | 2 +- drivers/media/usb/usbvision/usbvision-video.c | 4 ++-- 88 files changed, 142 insertions(+), 143 deletions(-)
drivers/media/i2c/adv7180.c +1 -1
@@ -540,7 +540,7 @@ static int init_device(struct i2c_client *client, struct adv7180_state *state)return 0 ; } -static __devinit int adv7180_probe (struct i2c_client *client, +static int adv7180_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct adv7180_state *state;
drivers/media/i2c/as3645a.c +2 -2
@@ -713,7 +713,7 @@ static int as3645a_resume(struct device *dev)* The number of LEDs reported in platform data is used to compute default * limits. Parameters passed through platform data can override those limits. */ -static int __devinit as3645a_init_controls (struct as3645a *flash) +static int as3645a_init_controls (struct as3645a *flash) {const struct as3645a_platform_data *pdata = flash->pdata;struct v4l2_ctrl *ctrl;
@@ -804,7 +804,7 @@ static int __devinit as3645a_init_controls(struct as3645a *flash)return flash->ctrls.error; } -static int __devinit as3645a_probe (struct i2c_client *client, +static int as3645a_probe (struct i2c_client *client,const struct i2c_device_id *devid) {struct as3645a *flash;
drivers/media/i2c/m5mols/m5mols_core.c +1 -1
@@ -926,7 +926,7 @@ static irqreturn_t m5mols_irq_handler(int irq, void *data)return IRQ_HANDLED ; } -static int __devinit m5mols_probe (struct i2c_client *client, +static int m5mols_probe (struct i2c_client *client,const struct i2c_device_id *id) {const struct m5mols_platform_data *pdata = client->dev.platform_data;
drivers/media/i2c/vs6624.c +1 -1
@@ -788,7 +788,7 @@ static const struct v4l2_subdev_ops vs6624_ops = { .video = &vs6624_video_ops, }; -static int __devinit vs6624_probe (struct i2c_client *client, +static int vs6624_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct vs6624 *sensor;
drivers/media/mmc/siano/smssdio.c +1 -1
@@ -224,7 +224,7 @@ static void smssdio_interrupt(struct sdio_func *func)smscore_onresponse (smsdev->coredev, cb); } -static int __devinit smssdio_probe (struct sdio_func *func, +static int smssdio_probe (struct sdio_func *func,const struct sdio_device_id *id) {int ret;
drivers/media/pci/bt8xx/bt878.c +2 -2
@@ -410,7 +410,7 @@ static struct pci_device_id bt878_pci_tbl[] __devinitdata = {MODULE_DEVICE_TABLE (pci, bt878_pci_tbl); -static const char *__devinit card_name (const struct pci_device_id *id) +static const char *card_name (const struct pci_device_id *id) {return id->driver_data ? (const char *)id->driver_data :"Unknown" ; }
@@ -419,7 +419,7 @@ static const char * __devinit card_name(const struct pci_device_id *id)/* PCI device handling */ /***********************/ -static int __devinit bt878_probe (struct pci_dev *dev, +static int bt878_probe (struct pci_dev *dev,const struct pci_device_id *pci_id) {int result =0 ;
drivers/media/pci/bt8xx/bttv-cards.c +13 -13
@@ -87,7 +87,7 @@ static int tea5757_read(struct bttv *btv);static int tea5757_write (struct bttv *btv,int value);static void identify_by_eeprom (struct bttv *btv,unsigned char eeprom_data[256 ]); -static int __devinit pvr_boot (struct bttv *btv); +static int pvr_boot (struct bttv *btv);/* config variables */ static unsigned int triton1;
@@ -2837,7 +2837,7 @@ static unsigned char eeprom_data[256];/* * identify card */ -void __devinit bttv_idcard (struct bttv *btv) +void bttv_idcard (struct bttv *btv) {unsigned int gpiobits;int i,type;
@@ -3235,7 +3235,7 @@ static void bttv_reset_audio(struct bttv *btv) }/* initialization part one -- before registering i2c bus */ -void __devinit bttv_init_card1 (struct bttv *btv) +void bttv_init_card1 (struct bttv *btv) {switch (btv->c.type) {case BTTV_BOARD_HAUPPAUGE :
@@ -3267,7 +3267,7 @@ void __devinit bttv_init_card1(struct bttv *btv) }/* initialization part two -- after registering i2c bus */ -void __devinit bttv_init_card2 (struct bttv *btv) +void bttv_init_card2 (struct bttv *btv) { btv->tuner_type =UNSET ;
@@ -3571,7 +3571,7 @@ no_audio:/* initialize the tuner */ -void __devinit bttv_init_tuner (struct bttv *btv) +void bttv_init_tuner (struct bttv *btv) {int addr =ADDR_UNSET ;
@@ -3635,7 +3635,7 @@ static void modtec_eeprom(struct bttv *btv) } } -static void __devinit hauppauge_eeprom (struct bttv *btv) +static void hauppauge_eeprom (struct bttv *btv) {struct tveeprom tv;
@@ -3709,7 +3709,7 @@ static int terratec_active_radio_upgrade(struct bttv *btv)#define BTTV_ALT_DCLK 0x100000#define BTTV_ALT_NCONFIG 0x800000 -static int __devinit pvr_altera_load (struct bttv *btv,const u8 *micro, +static int pvr_altera_load (struct bttv *btv,const u8 *micro,u32 microlen) {u32 n;
@@ -3747,7 +3747,7 @@ static int __devinit pvr_altera_load(struct bttv *btv, const u8 *micro,return 0 ; } -static int __devinit pvr_boot (struct bttv *btv) +static int pvr_boot (struct bttv *btv) {const struct firmware *fw_entry;int rc;
@@ -3767,7 +3767,7 @@ static int __devinit pvr_boot(struct bttv *btv)/* ----------------------------------------------------------------------- */ /* some osprey specific stuff */ -static void __devinit osprey_eeprom (struct bttv *btv,const u8 ee[256 ]) +static void osprey_eeprom (struct bttv *btv,const u8 ee[256 ]) {int i;u32 serial =0 ;
@@ -3898,7 +3898,7 @@ static int tuner_1_table[] = {TUNER_TEMIC_4012FY5 ,TUNER_TEMIC_4012FY5 ,/* TUNER_TEMIC_SECAM */ TUNER_TEMIC_4012FY5, TUNER_TEMIC_PAL}; -static void __devinit avermedia_eeprom (struct bttv *btv) +static void avermedia_eeprom (struct bttv *btv) {int tuner_make, tuner_tv_fm, tuner_format, tuner_type =0 ;
@@ -3960,7 +3960,7 @@ u32 bttv_tda9880_setnorm(struct bttv *btv, u32 gpiobits)* Hauppauge: pin 5 * Voodoo: pin 20 */ -static void __devinit boot_msp34xx (struct bttv *btv,int pin) +static void boot_msp34xx (struct bttv *btv,int pin) {int mask = (1 << pin);
@@ -3983,7 +3983,7 @@ static void __devinit boot_msp34xx(struct bttv *btv, int pin)* used by Alessandro Rubini in his pxc200 * driver, but using BTTV functions */ -static void __devinit init_PXC200 (struct bttv *btv) +static void init_PXC200 (struct bttv *btv) {static int vals[]__devinitdata = {0x08 ,0x09 ,0x0a ,0x0b ,0x0d ,0x0d ,0x01 ,0x02 ,0x03 ,0x04 ,0x05 ,0x06 ,
@@ -4851,7 +4851,7 @@ void __init bttv_check_chipset(void) } } -int __devinit bttv_handle_chipset (struct bttv *btv) +int bttv_handle_chipset (struct bttv *btv) {unsigned char command;
drivers/media/pci/bt8xx/bttv-driver.c +2 -2
@@ -4200,7 +4200,7 @@ static void bttv_unregister_video(struct bttv *btv) }/* register video4linux devices */ -static int __devinit bttv_register_video (struct bttv *btv) +static int bttv_register_video (struct bttv *btv) {if (no_overlay >0 )pr_notice ("Overlay support disabled\n" );
@@ -4266,7 +4266,7 @@ static void pci_set_command(struct pci_dev *dev)#endif } -static int __devinit bttv_probe (struct pci_dev *dev, +static int bttv_probe (struct pci_dev *dev,const struct pci_device_id *pci_id) {int result;
drivers/media/pci/bt8xx/bttv-i2c.c +2 -2
@@ -312,7 +312,7 @@ int bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1, }/* read EEPROM content */ -void __devinit bttv_readee (struct bttv *btv,unsigned char *eedata,int addr) +void bttv_readee (struct bttv *btv,unsigned char *eedata,int addr) {memset (eedata,0 ,256 );if (0 != btv->i2c_rc)
@@ -347,7 +347,7 @@ static void do_i2c_scan(char *name, struct i2c_client *c) }/* init + register i2c adapter */ -int __devinit init_bttv_i2c (struct bttv *btv) +int init_bttv_i2c (struct bttv *btv) {strlcpy (btv->i2c_client.name,"bttv internal" ,I2C_NAME_SIZE );
drivers/media/pci/bt8xx/bttv-input.c +1 -1
@@ -368,7 +368,7 @@ static int get_key_pv951(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) }/* Instantiate the I2C IR receiver device, if present */ -void __devinit init_bttv_i2c_ir (struct bttv *btv) +void init_bttv_i2c_ir (struct bttv *btv) {const unsigned short addr_list[] = {0x1a ,0x18 ,0x64 ,0x30 ,0x71 ,
drivers/media/pci/bt8xx/dvb-bt8xx.c +3 -3
@@ -118,7 +118,7 @@ static int is_pci_slot_eq(struct pci_dev* adev, struct pci_dev* bdev)return 0 ; } -static struct bt878 __devinit *dvb_bt8xx_878_match (unsigned int bttv_nr,struct pci_dev * bttv_pci_dev) +static struct bt878 *dvb_bt8xx_878_match (unsigned int bttv_nr,struct pci_dev * bttv_pci_dev) {unsigned int card_nr;
@@ -720,7 +720,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) } } -static int __devinit dvb_bt8xx_load_card (struct dvb_bt8xx_card *card,u32 type) +static int dvb_bt8xx_load_card (struct dvb_bt8xx_card *card,u32 type) {int result;
@@ -811,7 +811,7 @@ err_unregister_adaptor:return result; } -static int __devinit dvb_bt8xx_probe (struct bttv_sub_device *sub) +static int dvb_bt8xx_probe (struct bttv_sub_device *sub) {struct dvb_bt8xx_card *card;struct pci_dev * bttv_pci_dev;
drivers/media/pci/cx18/cx18-driver.c +5 -5
@@ -691,7 +691,7 @@ done: cx->card_i2c = cx->card->i2c; } -static int __devinit cx18_create_in_workq (struct cx18 *cx) +static int cx18_create_in_workq (struct cx18 *cx) {snprintf (cx->in_workq_name,sizeof (cx->in_workq_name),"%s-in" , cx->v4l2_dev.name);
@@ -703,7 +703,7 @@ static int __devinit cx18_create_in_workq(struct cx18 *cx)return 0 ; } -static void __devinit cx18_init_in_work_orders (struct cx18 *cx) +static void cx18_init_in_work_orders (struct cx18 *cx) {int i;for (i =0 ; i <CX18_MAX_IN_WORK_ORDERS ; i++) {
@@ -718,7 +718,7 @@ static void __devinit cx18_init_in_work_orders(struct cx18 *cx)No assumptions on the card type may be made here (see cx18_init_struct2 for that). */ -static int __devinit cx18_init_struct1 (struct cx18 *cx) +static int cx18_init_struct1 (struct cx18 *cx) {int ret;
@@ -775,7 +775,7 @@ static int __devinit cx18_init_struct1(struct cx18 *cx)/* Second initialization part. Here the card type has been autodetected. */ -static void __devinit cx18_init_struct2 (struct cx18 *cx) +static void cx18_init_struct2 (struct cx18 *cx) {int i;
@@ -892,7 +892,7 @@ static void cx18_init_subdevs(struct cx18 *cx) cx->sd_extmux =cx18_find_hw (cx, cx->card->hw_muxer); } -static int __devinit cx18_probe (struct pci_dev *pci_dev, +static int cx18_probe (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {int retval =0 ;
drivers/media/pci/cx23885/cx23885-core.c +1 -1
@@ -2088,7 +2088,7 @@ void cx23885_gpio_enable(struct cx23885_dev *dev, u32 mask, int asoutput)/* TODO: 23-19 */ } -static int __devinit cx23885_initdev (struct pci_dev *pci_dev, +static int cx23885_initdev (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {struct cx23885_dev *dev;
drivers/media/pci/cx25821/cx25821-core.c +1 -1
@@ -1361,7 +1361,7 @@ struct cx25821_dev *cx25821_dev_get(struct pci_dev *pci) }EXPORT_SYMBOL (cx25821_dev_get); -static int __devinit cx25821_initdev (struct pci_dev *pci_dev, +static int cx25821_initdev (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {struct cx25821_dev *dev;
drivers/media/pci/cx88/cx88-alsa.c +3 -3
@@ -536,7 +536,7 @@ static struct snd_pcm_ops snd_cx88_pcm_ops = {/* * create a PCM device */ -static int __devinit snd_cx88_pcm (snd_cx88_card_t *chip,int device,const char *name) +static int snd_cx88_pcm (snd_cx88_card_t *chip,int device,const char *name) {int err;struct snd_pcm *pcm;
@@ -788,7 +788,7 @@ static void snd_cx88_dev_free(struct snd_card * card)*/ static int devno; -static int __devinit snd_cx88_create (struct snd_card *card, +static int snd_cx88_create (struct snd_card *card,struct pci_dev *pci,snd_cx88_card_t **rchip,struct cx88_core **core_ptr)
@@ -858,7 +858,7 @@ static int __devinit snd_cx88_create(struct snd_card *card,return 0 ; } -static int __devinit cx88_audio_initdev (struct pci_dev *pci, +static int cx88_audio_initdev (struct pci_dev *pci,const struct pci_device_id *pci_id) {struct snd_card *card;
drivers/media/pci/cx88/cx88-mpeg.c +1 -1
@@ -789,7 +789,7 @@ int cx8802_unregister_driver(struct cx8802_driver *drv) }/* ----------------------------------------------------------- */ -static int __devinit cx8802_probe (struct pci_dev *pci_dev, +static int cx8802_probe (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {struct cx8802_dev *dev;
drivers/media/pci/cx88/cx88-video.c +1 -1
@@ -1696,7 +1696,7 @@ static void cx8800_unregister_video(struct cx8800_dev *dev) } } -static int __devinit cx8800_initdev (struct pci_dev *pci_dev, +static int cx8800_initdev (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {struct cx8800_dev *dev;
drivers/media/pci/ddbridge/ddbridge-core.c +1 -1
@@ -1565,7 +1565,7 @@ static void __devexit ddb_remove(struct pci_dev *pdev) } -static int __devinit ddb_probe (struct pci_dev *pdev, +static int ddb_probe (struct pci_dev *pdev,const struct pci_device_id *id) {struct ddb *dev;
drivers/media/pci/dm1105/dm1105.c +6 -6
@@ -616,7 +616,7 @@ static void dm1105_set_dma_addr(struct dm1105_dev *dev)dm_writel (DM1105_STADR ,cpu_to_le32 (dev->dma_addr)); } -static int __devinit dm1105_dma_map (struct dm1105_dev *dev) +static int dm1105_dma_map (struct dm1105_dev *dev) { dev->ts_buf = pci_alloc_consistent(dev->pdev, 6 * DM1105_DMA_BYTES,
@@ -736,7 +736,7 @@ static irqreturn_t dm1105_irq(int irq, void *dev_id)return IRQ_HANDLED ; } -int __devinit dm1105_ir_init (struct dm1105_dev *dm1105) +int dm1105_ir_init (struct dm1105_dev *dm1105) {struct rc_dev *dev;int err = -ENOMEM ;
@@ -781,7 +781,7 @@ void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105)rc_unregister_device (dm1105->ir.dev); } -static int __devinit dm1105_hw_init (struct dm1105_dev *dev) +static int dm1105_hw_init (struct dm1105_dev *dev) {dm1105_disable_irqs (dev);
@@ -849,7 +849,7 @@ static struct ds3000_config dvbworld_ds3000_config = { .demod_address = 0x68, }; -static int __devinit frontend_init (struct dm1105_dev *dev) +static int frontend_init (struct dm1105_dev *dev) {int ret;
@@ -949,7 +949,7 @@ static int __devinit frontend_init(struct dm1105_dev *dev)return 0 ; } -static void __devinit dm1105_read_mac (struct dm1105_dev *dev,u8 *mac) +static void dm1105_read_mac (struct dm1105_dev *dev,u8 *mac) {static u8 command[1 ] = {0x28 };
@@ -971,7 +971,7 @@ static void __devinit dm1105_read_mac(struct dm1105_dev *dev, u8 *mac)dev_info (&dev->pdev->dev,"MAC %pM\n" , mac); } -static int __devinit dm1105_probe (struct pci_dev *pdev, +static int dm1105_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct dm1105_dev *dev;
drivers/media/pci/ivtv/ivtv-driver.c +3 -3
@@ -736,7 +736,7 @@ done:No assumptions on the card type may be made here (see ivtv_init_struct2 for that). */ -static int __devinit ivtv_init_struct1 (struct ivtv *itv) +static int ivtv_init_struct1 (struct ivtv *itv) {struct sched_param param = { .sched_priority =99 };
@@ -802,7 +802,7 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv)/* Second initialization part. Here the card type has been autodetected. */ -static void __devinit ivtv_init_struct2 (struct ivtv *itv) +static void ivtv_init_struct2 (struct ivtv *itv) {int i;
@@ -1001,7 +1001,7 @@ static void ivtv_load_and_init_modules(struct ivtv *itv) } } -static int __devinit ivtv_probe (struct pci_dev *pdev, +static int ivtv_probe (struct pci_dev *pdev,const struct pci_device_id *pci_id) {int retval =0 ;
drivers/media/pci/mantis/hopper_cards.c +2 -2
@@ -151,7 +151,7 @@ static irqreturn_t hopper_irq_handler(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit hopper_pci_probe (struct pci_dev *pdev,const struct pci_device_id *pci_id) +static int hopper_pci_probe (struct pci_dev *pdev,const struct pci_device_id *pci_id) {struct mantis_pci *mantis;struct mantis_hwconfig *config;
@@ -259,7 +259,7 @@ static struct pci_driver hopper_pci_driver = { .remove = hopper_pci_remove, }; -static int __devinit hopper_init (void ) +static int hopper_init (void ) {return pci_register_driver (&hopper_pci_driver); }
drivers/media/pci/mantis/mantis_cards.c +2 -2
@@ -159,7 +159,7 @@ static irqreturn_t mantis_irq_handler(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit mantis_pci_probe (struct pci_dev *pdev,const struct pci_device_id *pci_id) +static int mantis_pci_probe (struct pci_dev *pdev,const struct pci_device_id *pci_id) {struct mantis_pci *mantis;struct mantis_hwconfig *config;
@@ -289,7 +289,7 @@ static struct pci_driver mantis_pci_driver = { .remove = mantis_pci_remove, }; -static int __devinit mantis_init (void ) +static int mantis_init (void ) {return pci_register_driver (&mantis_pci_driver); }
drivers/media/pci/mantis/mantis_dvb.c +1 -1
@@ -144,7 +144,7 @@ static int mantis_dvb_stop_feed(struct dvb_demux_feed *dvbdmxfeed)return 0 ; } -int __devinit mantis_dvb_init (struct mantis_pci *mantis) +int mantis_dvb_init (struct mantis_pci *mantis) {struct mantis_hwconfig *config = mantis->hwconfig;int result =-1 ;
drivers/media/pci/mantis/mantis_i2c.c +1 -1
@@ -217,7 +217,7 @@ static struct i2c_algorithm mantis_algo = { .functionality = mantis_i2c_func, }; -int __devinit mantis_i2c_init (struct mantis_pci *mantis) +int mantis_i2c_init (struct mantis_pci *mantis) {u32 intstat, intmask;struct i2c_adapter *i2c_adapter = &mantis->adapter;
drivers/media/pci/mantis/mantis_pci.c +1 -1
@@ -46,7 +46,7 @@#define DRIVER_NAME "Mantis Core" -int __devinit mantis_pci_init (struct mantis_pci *mantis) +int mantis_pci_init (struct mantis_pci *mantis) {u8 latency;struct mantis_hwconfig *config = mantis->hwconfig;
drivers/media/pci/meye/meye.c +1 -1
@@ -1728,7 +1728,7 @@ static int meye_resume(struct pci_dev *pdev) }#endif -static int __devinit meye_probe (struct pci_dev *pcidev, +static int meye_probe (struct pci_dev *pcidev,const struct pci_device_id *ent) {struct v4l2_device *v4l2_dev = &meye.v4l2_dev;
drivers/media/pci/ngene/ngene-core.c +1 -1
@@ -1652,7 +1652,7 @@ void __devexit ngene_remove(struct pci_dev *pdev)pci_disable_device (pdev); } -int __devinit ngene_probe (struct pci_dev *pci_dev, +int ngene_probe (struct pci_dev *pci_dev,const struct pci_device_id *id) {struct ngene *dev;
drivers/media/pci/ngene/ngene.h +1 -1
@@ -887,7 +887,7 @@ struct ngene_buffer {/* Provided by ngene-core.c */ -int __devinit ngene_probe (struct pci_dev *pci_dev, +int ngene_probe (struct pci_dev *pci_dev,const struct pci_device_id *id); void __devexit ngene_remove(struct pci_dev *pdev);void ngene_shutdown (struct pci_dev *pdev);
drivers/media/pci/pluto2/pluto2.c +8 -8
@@ -240,7 +240,7 @@ static void pluto_set_dma_addr(struct pluto *pluto)pluto_writereg (pluto,REG_PCAR , pluto->dma_addr); } -static int __devinit pluto_dma_map (struct pluto *pluto) +static int pluto_dma_map (struct pluto *pluto) { pluto->dma_addr =pci_map_single (pluto->pdev, pluto->dma_buf,TS_DMA_BYTES ,PCI_DMA_FROMDEVICE );
@@ -368,7 +368,7 @@ static irqreturn_t pluto_irq(int irq, void *dev_id)return IRQ_HANDLED ; } -static void __devinit pluto_enable_irqs (struct pluto *pluto) +static void pluto_enable_irqs (struct pluto *pluto) {u32 val =pluto_readreg (pluto,REG_TSCR );
@@ -394,7 +394,7 @@ static void pluto_disable_irqs(struct pluto *pluto)pluto_write_tscr (pluto, val); } -static int __devinit pluto_hw_init (struct pluto *pluto) +static int pluto_hw_init (struct pluto *pluto) {pluto_reset_frontend (pluto,1 );
@@ -515,7 +515,7 @@ static struct tda1004x_config pluto2_fe_config __devinitdata = { .request_firmware = pluto2_request_firmware, }; -static int __devinit frontend_init (struct pluto *pluto) +static int frontend_init (struct pluto *pluto) {int ret;
@@ -536,14 +536,14 @@ static int __devinit frontend_init(struct pluto *pluto)return 0 ; } -static void __devinit pluto_read_rev (struct pluto *pluto) +static void pluto_read_rev (struct pluto *pluto) {u32 val =pluto_readreg (pluto,REG_MISC ) &MISC_DVR ;dev_info (&pluto->pdev->dev,"board revision %d.%d\n" , (val >>12 ) &0x0f , (val >>4 ) &0xff ); } -static void __devinit pluto_read_mac (struct pluto *pluto,u8 *mac) +static void pluto_read_mac (struct pluto *pluto,u8 *mac) {u32 val =pluto_readreg (pluto,REG_MMAC ); mac[0 ] = (val >>8 ) &0xff ;
@@ -560,7 +560,7 @@ static void __devinit pluto_read_mac(struct pluto *pluto, u8 *mac)dev_info (&pluto->pdev->dev,"MAC %pM\n" , mac); } -static int __devinit pluto_read_serial (struct pluto *pluto) +static int pluto_read_serial (struct pluto *pluto) {struct pci_dev *pdev = pluto->pdev;unsigned int i, j;
@@ -588,7 +588,7 @@ out:return 0 ; } -static int __devinit pluto2_probe (struct pci_dev *pdev, +static int pluto2_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct pluto *pluto;
drivers/media/pci/pt1/pt1.c +1 -1
@@ -1083,7 +1083,7 @@ static void __devexit pt1_remove(struct pci_dev *pdev)pci_disable_device (pdev); } -static int __devinit +static int pt1_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {int ret;
drivers/media/pci/saa7134/saa7134-core.c +2 -2
@@ -754,7 +754,7 @@ static int saa7134_hwfini(struct saa7134_dev *dev)return 0 ; } -static void __devinit must_configure_manually (int has_eeprom) +static void must_configure_manually (int has_eeprom) {unsigned int i,p;
@@ -860,7 +860,7 @@ static void mpeg_ops_detach(struct saa7134_mpeg_ops *ops, dev->mops =NULL ; } -static int __devinit saa7134_initdev (struct pci_dev *pci_dev, +static int saa7134_initdev (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {struct saa7134_dev *dev;
drivers/media/pci/saa7164/saa7164-core.c +1 -1
@@ -1185,7 +1185,7 @@ static int saa7164_thread_function(void *data)return 0 ; } -static int __devinit saa7164_initdev (struct pci_dev *pci_dev, +static int saa7164_initdev (struct pci_dev *pci_dev,const struct pci_device_id *pci_id) {struct saa7164_dev *dev;
drivers/media/pci/sta2x11/sta2x11_vip.c +1 -1
@@ -1205,7 +1205,7 @@ static void vip_gpio_release(struct device *dev, int pin, const char *name)* * -ENODEV, device could not be detected or registered */ -static int __devinit sta2x11_vip_init_one (struct pci_dev *pdev, +static int sta2x11_vip_init_one (struct pci_dev *pdev,const struct pci_device_id *ent) {int ret;
drivers/media/pci/ttpci/av7110.c +1 -1
@@ -2367,7 +2367,7 @@ static int frontend_init(struct av7110 *av7110)* The same behaviour of missing VSYNC can be duplicated on budget * cards, by seting DD1_INIT trigger mode 7 in 3rd nibble. */ -static int __devinit av7110_attach (struct saa7146_dev * dev, +static int av7110_attach (struct saa7146_dev * dev,struct saa7146_pci_extension_data *pci_ext) {const int length =TS_WIDTH *TS_HEIGHT ;
drivers/media/pci/ttpci/av7110_ir.c +1 -1
@@ -324,7 +324,7 @@ static void ir_handler(struct av7110 *av7110, u32 ircom) } -int __devinit av7110_ir_init (struct av7110 *av7110) +int av7110_ir_init (struct av7110 *av7110) {struct input_dev *input_dev;static struct proc_dir_entry *e;
drivers/media/pci/zoran/zoran_card.c +4 -5
@@ -948,7 +948,7 @@ zoran_open_init_params (struct zoran *zr) zr->testing =0 ; } -static void __devinit +static void test_interrupts (struct zoran *zr) {DEFINE_WAIT (wait);
@@ -974,7 +974,7 @@ test_interrupts (struct zoran *zr)btwrite (icr,ZR36057_ICR ); } -static int __devinit +static int zr36057_init (struct zoran *zr) {int j, err;
@@ -1129,8 +1129,7 @@ zoran_vdev_release (struct video_device *vdev)kfree (vdev); } -static struct videocodec_master *__devinit -zoran_setup_videocodec (struct zoran *zr, +static struct videocodec_master *zoran_setup_videocodec (struct zoran *zr,int type) {struct videocodec_master *m =NULL ;
@@ -1192,7 +1191,7 @@ static void zoran_subdev_notify(struct v4l2_subdev *sd, unsigned int cmd, void ** Scan for a Buz card (actually for the PCI controller ZR36057), * request the irq and map the io memory */ -static int __devinit zoran_probe (struct pci_dev *pdev, +static int zoran_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {unsigned char latency, need_latency;
drivers/media/platform/blackfin/bfin_capture.c +1 -1
@@ -862,7 +862,7 @@ static struct v4l2_file_operations bcap_fops = { .poll = bcap_poll }; -static int __devinit bcap_probe (struct platform_device *pdev) +static int bcap_probe (struct platform_device *pdev) {struct bcap_device *bcap_dev;struct video_device *vfd;
drivers/media/platform/coda.c +1 -1
@@ -1891,7 +1891,7 @@ static const struct of_device_id coda_dt_ids[] = {MODULE_DEVICE_TABLE (of, coda_dt_ids);#endif -static int __devinit coda_probe (struct platform_device *pdev) +static int coda_probe (struct platform_device *pdev) {const struct of_device_id *of_id =of_match_device (of_match_ptr (coda_dt_ids), &pdev->dev);
drivers/media/platform/davinci/dm355_ccdc.c +1 -1
@@ -965,7 +965,7 @@ static struct ccdc_hw_device ccdc_hw_dev = { }, }; -static int __devinit dm355_ccdc_probe (struct platform_device *pdev) +static int dm355_ccdc_probe (struct platform_device *pdev) {void (*setup_pinmux)(void );struct resource *res;
drivers/media/platform/davinci/dm644x_ccdc.c +1 -1
@@ -957,7 +957,7 @@ static struct ccdc_hw_device ccdc_hw_dev = { }, }; -static int __devinit dm644x_ccdc_probe (struct platform_device *pdev) +static int dm644x_ccdc_probe (struct platform_device *pdev) {struct resource *res;int status =0 ;
drivers/media/platform/davinci/isif.c +1 -1
@@ -1032,7 +1032,7 @@ static struct ccdc_hw_device isif_hw_dev = { }, }; -static int __devinit isif_probe (struct platform_device *pdev) +static int isif_probe (struct platform_device *pdev) {void (*setup_pinmux)(void );struct resource *res;
drivers/media/platform/davinci/vpbe.c +1 -1
@@ -803,7 +803,7 @@ static struct vpbe_device_ops vpbe_dev_ops = { .set_mode = vpbe_set_mode, }; -static __devinit int vpbe_probe (struct platform_device *pdev) +static int vpbe_probe (struct platform_device *pdev) {struct vpbe_device *vpbe_dev;struct vpbe_config *cfg;
drivers/media/platform/davinci/vpbe_display.c +3 -3
@@ -1603,7 +1603,7 @@ static int vpbe_device_get(struct device *dev, void *data)return 0 ; } -static __devinit int init_vpbe_layer (int i,struct vpbe_display *disp_dev, +static int init_vpbe_layer (int i,struct vpbe_display *disp_dev,struct platform_device *pdev) {struct vpbe_layer *vpbe_display_layer =NULL ;
@@ -1659,7 +1659,7 @@ static __devinit int init_vpbe_layer(int i, struct vpbe_display *disp_dev,return 0 ; } -static __devinit int register_device (struct vpbe_layer *vpbe_display_layer, +static int register_device (struct vpbe_layer *vpbe_display_layer,struct vpbe_display *disp_dev,struct platform_device *pdev) {int err;
@@ -1693,7 +1693,7 @@ static __devinit int register_device(struct vpbe_layer *vpbe_display_layer,* This function creates device entries by register itself to the V4L2 driver * and initializes fields of each layer objects */ -static __devinit int vpbe_display_probe (struct platform_device *pdev) +static int vpbe_display_probe (struct platform_device *pdev) {struct vpbe_layer *vpbe_display_layer;struct vpbe_display *disp_dev;
drivers/media/platform/davinci/vpfe_capture.c +1 -1
@@ -1831,7 +1831,7 @@ static struct vpfe_device *vpfe_initialize(void)* itself to the V4L2 driver and initializes fields of each * device objects */ -static __devinit int vpfe_probe (struct platform_device *pdev) +static int vpfe_probe (struct platform_device *pdev) {struct vpfe_subdev_info *sdinfo;struct vpfe_config *vpfe_cfg;
drivers/media/platform/davinci/vpif.c +1 -1
@@ -419,7 +419,7 @@ int vpif_channel_getfid(u8 channel_id) }EXPORT_SYMBOL (vpif_channel_getfid); -static int __devinit vpif_probe (struct platform_device *pdev) +static int vpif_probe (struct platform_device *pdev) {int status =0 ;
drivers/media/platform/davinci/vpss.c +1 -1
@@ -357,7 +357,7 @@ void dm365_vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size) }EXPORT_SYMBOL (dm365_vpss_set_pg_frame_size); -static int __devinit vpss_probe (struct platform_device *pdev) +static int vpss_probe (struct platform_device *pdev) {struct resource *r1, *r2;char *platform_name;
drivers/media/platform/fsl-viu.c +1 -1
@@ -1480,7 +1480,7 @@ static struct video_device viu_template = { .current_norm = V4L2_STD_NTSC_M, }; -static int __devinit viu_of_probe (struct platform_device *op) +static int viu_of_probe (struct platform_device *op) {struct viu_dev *viu_dev;struct video_device *vdev;
drivers/media/platform/omap24xxcam.c +1 -1
@@ -1736,7 +1736,7 @@ static struct v4l2_int_device omap24xxcam = {* */ -static int __devinit omap24xxcam_probe (struct platform_device *pdev) +static int omap24xxcam_probe (struct platform_device *pdev) {struct omap24xxcam_device *cam;struct resource *mem;
drivers/media/platform/omap3isp/isp.c +1 -1
@@ -2059,7 +2059,7 @@ static int isp_map_mem_resource(struct platform_device *pdev,* -EINVAL if couldn't install ISR, * or clk_get return error value. */ -static int __devinit isp_probe (struct platform_device *pdev) +static int isp_probe (struct platform_device *pdev) {struct isp_platform_data *pdata = pdev->dev.platform_data;struct isp_device *isp;
drivers/media/platform/s5p-fimc/fimc-lite.c +1 -1
@@ -1402,7 +1402,7 @@ static int fimc_lite_clk_get(struct fimc_lite *fimc)return ret; } -static int __devinit fimc_lite_probe (struct platform_device *pdev) +static int fimc_lite_probe (struct platform_device *pdev) {struct flite_drvdata *drv_data =fimc_lite_get_drvdata (pdev);struct fimc_lite *fimc;
drivers/media/platform/s5p-fimc/mipi-csis.c +1 -1
@@ -654,7 +654,7 @@ static irqreturn_t s5pcsis_irq_handler(int irq, void *dev_id)return IRQ_HANDLED ; } -static int __devinit s5pcsis_probe (struct platform_device *pdev) +static int s5pcsis_probe (struct platform_device *pdev) {struct s5p_platform_mipi_csis *pdata;struct resource *mem_res;
drivers/media/platform/s5p-tv/hdmi_drv.c +1 -1
@@ -830,7 +830,7 @@ fail:return -ENODEV ; } -static int __devinit hdmi_probe (struct platform_device *pdev) +static int hdmi_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct resource *res;
drivers/media/platform/s5p-tv/hdmiphy_drv.c +1 -1
@@ -279,7 +279,7 @@ static const struct v4l2_subdev_ops hdmiphy_ops = { .video = &hdmiphy_video_ops, }; -static int __devinit hdmiphy_probe (struct i2c_client *client, +static int hdmiphy_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct hdmiphy_ctx *ctx;
drivers/media/platform/s5p-tv/mixer.h +1 -1
@@ -290,7 +290,7 @@ static inline struct v4l2_subdev *to_outsd(struct mxr_device *mdev)struct mxr_platform_data ;/** acquiring common video resources */ -int __devinit mxr_acquire_video (struct mxr_device *mdev, +int mxr_acquire_video (struct mxr_device *mdev,struct mxr_output_conf *output_cont,int output_count);/** releasing common video resources */
drivers/media/platform/s5p-tv/mixer_drv.c +4 -4
@@ -151,7 +151,7 @@ void mxr_power_put(struct mxr_device *mdev)/* --------- RESOURCE MANAGEMENT -------------*/ -static int __devinit mxr_acquire_plat_resources (struct mxr_device *mdev, +static int mxr_acquire_plat_resources (struct mxr_device *mdev,struct platform_device *pdev) {struct resource *res;
@@ -271,7 +271,7 @@ fail:return -ENODEV ; } -static int __devinit mxr_acquire_resources (struct mxr_device *mdev, +static int mxr_acquire_resources (struct mxr_device *mdev,struct platform_device *pdev) {int ret;
@@ -310,7 +310,7 @@ static void mxr_release_layers(struct mxr_device *mdev)mxr_layer_release (mdev->layer[i]); } -static int __devinit mxr_acquire_layers (struct mxr_device *mdev, +static int mxr_acquire_layers (struct mxr_device *mdev,struct mxr_platform_data *pdata) { mdev->layer[0 ] =mxr_graph_layer_create (mdev,0 );
@@ -372,7 +372,7 @@ static const struct dev_pm_ops mxr_pm_ops = {/* --------- DRIVER INITIALIZATION ---------- */ -static int __devinit mxr_probe (struct platform_device *pdev) +static int mxr_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct mxr_platform_data *pdata = dev->platform_data;
drivers/media/platform/s5p-tv/mixer_video.c +1 -1
@@ -63,7 +63,7 @@ done:return sd; } -int __devinit mxr_acquire_video (struct mxr_device *mdev, +int mxr_acquire_video (struct mxr_device *mdev,struct mxr_output_conf *output_conf,int output_count) {struct device *dev = mdev->dev;
drivers/media/platform/s5p-tv/sdo_drv.c +1 -1
@@ -292,7 +292,7 @@ static const struct dev_pm_ops sdo_pm_ops = { .runtime_resume = sdo_runtime_resume, }; -static int __devinit sdo_probe (struct platform_device *pdev) +static int sdo_probe (struct platform_device *pdev) {struct device *dev = &pdev->dev;struct sdo_device *sdev;
drivers/media/platform/s5p-tv/sii9234_drv.c +1 -1
@@ -315,7 +315,7 @@ static const struct v4l2_subdev_ops sii9234_ops = { .video = &sii9234_video_ops, }; -static int __devinit sii9234_probe (struct i2c_client *client, +static int sii9234_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct device *dev = &client->dev;
drivers/media/platform/sh_vou.c +1 -1
@@ -1325,7 +1325,7 @@ static const struct video_device sh_vou_video_template = { .vfl_dir = VFL_DIR_TX, }; -static int __devinit sh_vou_probe (struct platform_device *pdev) +static int sh_vou_probe (struct platform_device *pdev) {struct sh_vou_pdata *vou_pdata = pdev->dev.platform_data;struct v4l2_rect *rect;
drivers/media/platform/soc_camera/atmel-isi.c +1 -1
@@ -921,7 +921,7 @@ static int __devexit atmel_isi_remove(struct platform_device *pdev)return 0 ; } -static int __devinit atmel_isi_probe (struct platform_device *pdev) +static int atmel_isi_probe (struct platform_device *pdev) {unsigned int irq;struct atmel_isi *isi;
drivers/media/platform/soc_camera/mx2_camera.c +2 -2
@@ -1676,7 +1676,7 @@ static irqreturn_t mx27_camera_emma_irq(int irq_emma, void *data)return IRQ_HANDLED ; } -static int __devinit mx27_camera_emma_init (struct platform_device *pdev) +static int mx27_camera_emma_init (struct platform_device *pdev) {struct mx2_camera_dev *pcdev =platform_get_drvdata (pdev);struct resource *res_emma;
@@ -1734,7 +1734,7 @@ out:return err; } -static int __devinit mx2_camera_probe (struct platform_device *pdev) +static int mx2_camera_probe (struct platform_device *pdev) {struct mx2_camera_dev *pcdev;struct resource *res_csi;
drivers/media/platform/soc_camera/mx3_camera.c +1 -1
@@ -1142,7 +1142,7 @@ static struct soc_camera_host_ops mx3_soc_camera_host_ops = { .set_bus_param = mx3_camera_set_bus_param, }; -static int __devinit mx3_camera_probe (struct platform_device *pdev) +static int mx3_camera_probe (struct platform_device *pdev) {struct mx3_camera_dev *mx3_cam;struct resource *res;
drivers/media/platform/soc_camera/pxa_camera.c +1 -1
@@ -1651,7 +1651,7 @@ static struct soc_camera_host_ops pxa_soc_camera_host_ops = { .set_bus_param = pxa_camera_set_bus_param, }; -static int __devinit pxa_camera_probe (struct platform_device *pdev) +static int pxa_camera_probe (struct platform_device *pdev) {struct pxa_camera_dev *pcdev;struct resource *res;
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +1 -1
@@ -2070,7 +2070,7 @@ static int bus_notify(struct notifier_block *nb,return NOTIFY_DONE ; } -static int __devinit sh_mobile_ceu_probe (struct platform_device *pdev) +static int sh_mobile_ceu_probe (struct platform_device *pdev) {struct sh_mobile_ceu_dev *pcdev;struct resource *res;
drivers/media/platform/soc_camera/sh_mobile_csi2.c +1 -1
@@ -294,7 +294,7 @@ static struct v4l2_subdev_ops sh_csi2_subdev_ops = { .video = &sh_csi2_subdev_video_ops, }; -static __devinit int sh_csi2_probe (struct platform_device *pdev) +static int sh_csi2_probe (struct platform_device *pdev) {struct resource *res;unsigned int irq;
drivers/media/platform/soc_camera/soc_camera.c +1 -1
@@ -1526,7 +1526,7 @@ static int soc_camera_video_start(struct soc_camera_device *icd)return 0 ; } -static int __devinit soc_camera_pdrv_probe (struct platform_device *pdev) +static int soc_camera_pdrv_probe (struct platform_device *pdev) {struct soc_camera_link *icl = pdev->dev.platform_data;struct soc_camera_device *icd;
drivers/media/platform/timblogiw.c +1 -1
@@ -786,7 +786,7 @@ static __devinitconst struct video_device timblogiw_template = { .tvnorms = V4L2_STD_PAL | V4L2_STD_NTSC }; -static int __devinit timblogiw_probe (struct platform_device *pdev) +static int timblogiw_probe (struct platform_device *pdev) {int err;struct timblogiw *lw =NULL ;
drivers/media/platform/via-camera.c +2 -2
@@ -1324,7 +1324,7 @@ static struct video_device viacam_v4l_template = {#define VIACAM_SERIAL_CREG 0x46#define VIACAM_SERIAL_BIT 0x40 -static __devinit bool viacam_serial_is_enabled (void ) +static bool viacam_serial_is_enabled (void ) {struct pci_bus *pbus =pci_find_bus (0 ,0 );u8 cbyte;
@@ -1353,7 +1353,7 @@ static struct ov7670_config sensor_cfg = { .clock_speed = 90, }; -static __devinit int viacam_probe (struct platform_device *pdev) +static int viacam_probe (struct platform_device *pdev) {int ret;struct i2c_adapter *sensor_adapter;
drivers/media/radio/radio-maxiradio.c +1 -1
@@ -114,7 +114,7 @@ static struct snd_tea575x_ops maxiradio_tea_ops = { .set_direction = maxiradio_tea575x_set_direction, }; -static int __devinit maxiradio_probe (struct pci_dev *pdev,const struct pci_device_id *ent) +static int maxiradio_probe (struct pci_dev *pdev,const struct pci_device_id *ent) {struct maxiradio *dev;struct v4l2_device *v4l2_dev;
drivers/media/radio/radio-sf16fmr2.c +3 -3
@@ -203,7 +203,7 @@ static struct pnp_device_id fmr2_pnp_ids[] __devinitdata = { };MODULE_DEVICE_TABLE (pnp, fmr2_pnp_ids); -static int __devinit fmr2_probe (struct fmr2 *fmr2,struct device *pdev,int io) +static int fmr2_probe (struct fmr2 *fmr2,struct device *pdev,int io) {int err, i;char *card_name = fmr2->is_fmd2 ?"SF16-FMD2" :"SF16-FMR2" ;
@@ -249,7 +249,7 @@ static int __devinit fmr2_probe(struct fmr2 *fmr2, struct device *pdev, int io)return 0 ; } -static int __devinit fmr2_isa_match (struct device *pdev,unsigned int ndev) +static int fmr2_isa_match (struct device *pdev,unsigned int ndev) {struct fmr2 *fmr2 =kzalloc (sizeof (*fmr2),GFP_KERNEL );if (!fmr2)
@@ -265,7 +265,7 @@ static int __devinit fmr2_isa_match(struct device *pdev, unsigned int ndev)return 1 ; } -static int __devinit fmr2_pnp_probe (struct pnp_dev *pdev, +static int fmr2_pnp_probe (struct pnp_dev *pdev,const struct pnp_device_id *id) {int ret;
drivers/media/radio/radio-tea5764.c +1 -1
@@ -493,7 +493,7 @@ static struct video_device tea5764_radio_template = { };/* I2C probe: check if the device exists and register with v4l if it is */ -static int __devinit tea5764_i2c_probe (struct i2c_client *client, +static int tea5764_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct tea5764_device *radio;
drivers/media/radio/radio-timb.c +1 -1
@@ -145,7 +145,7 @@ static const struct v4l2_file_operations timbradio_fops = { .unlocked_ioctl = video_ioctl2, }; -static int __devinit timbradio_probe (struct platform_device *pdev) +static int timbradio_probe (struct platform_device *pdev) {struct timb_radio_platform_data *pdata = pdev->dev.platform_data;struct timbradio *tr;
drivers/media/radio/radio-wl1273.c +1 -1
@@ -1990,7 +1990,7 @@ static int wl1273_fm_radio_remove(struct platform_device *pdev)return 0 ; } -static int __devinit wl1273_fm_radio_probe (struct platform_device *pdev) +static int wl1273_fm_radio_probe (struct platform_device *pdev) {struct wl1273_core **core = pdev->dev.platform_data;struct wl1273_device *radio;
drivers/media/radio/saa7706h.c +1 -1
@@ -373,7 +373,7 @@ static const struct v4l2_subdev_ops saa7706h_ops = {* concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1' */ -static int __devinit saa7706h_probe (struct i2c_client *client, +static int saa7706h_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct saa7706h_state *state;
drivers/media/radio/si470x/radio-si470x-i2c.c +1 -1
@@ -347,7 +347,7 @@ end:/* * si470x_i2c_probe - probe for the device */ -static int __devinit si470x_i2c_probe (struct i2c_client *client, +static int si470x_i2c_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct si470x_device *radio;
drivers/media/radio/tef6862.c +1 -1
@@ -165,7 +165,7 @@ static const struct v4l2_subdev_ops tef6862_ops = {* concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1' */ -static int __devinit tef6862_probe (struct i2c_client *client, +static int tef6862_probe (struct i2c_client *client,const struct i2c_device_id *id) {struct tef6862_state *state;
drivers/media/rc/gpio-ir-recv.c +1 -1
@@ -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;
drivers/media/rc/iguanair.c +1 -1
@@ -425,7 +425,7 @@ static void iguanair_close(struct rc_dev *rdev)mutex_unlock (&ir->lock); } -static int __devinit iguanair_probe (struct usb_interface *intf, +static int iguanair_probe (struct usb_interface *intf,const struct usb_device_id *id) {struct usb_device *udev =interface_to_usbdev (intf);
drivers/media/rc/imon.c +1 -1
@@ -2292,7 +2292,7 @@ static void imon_init_display(struct imon_context *ictx,/** * Callback function for USB core API: Probe */ -static int __devinit imon_probe (struct usb_interface *interface, +static int imon_probe (struct usb_interface *interface,const struct usb_device_id *id) {struct usb_device *usbdev =NULL ;
drivers/media/rc/ir-rx51.c +1 -1
@@ -443,7 +443,7 @@ static int lirc_rx51_resume(struct platform_device *dev)#endif /* CONFIG_PM */ -static int __devinit lirc_rx51_probe (struct platform_device *dev) +static int lirc_rx51_probe (struct platform_device *dev) { lirc_rx51_driver.features =LIRC_RX51_DRIVER_FEATURES ; lirc_rx51.pdata = dev->dev.platform_data;
drivers/media/rc/mceusb.c +1 -1
@@ -1229,7 +1229,7 @@ out:return NULL ; } -static int __devinit mceusb_dev_probe (struct usb_interface *intf, +static int mceusb_dev_probe (struct usb_interface *intf,const struct usb_device_id *id) {struct usb_device *dev =interface_to_usbdev (intf);
drivers/media/rc/redrat3.c +1 -1
@@ -1102,7 +1102,7 @@ out:return NULL ; } -static int __devinit redrat3_dev_probe (struct usb_interface *intf, +static int redrat3_dev_probe (struct usb_interface *intf,const struct usb_device_id *id) {struct usb_device *udev =interface_to_usbdev (intf);
drivers/media/rc/streamzap.c +1 -1
@@ -346,7 +346,7 @@ out:* On any failure the return value is the ERROR * On success return 0 */ -static int __devinit streamzap_probe (struct usb_interface *intf, +static int streamzap_probe (struct usb_interface *intf,const struct usb_device_id *id) {struct usb_device *usbdev =interface_to_usbdev (intf);
drivers/media/rc/ttusbir.c +1 -1
@@ -194,7 +194,7 @@ static void ttusbir_urb_complete(struct urb *urb)dev_warn (tt->dev,"failed to resubmit urb: %d\n" , rc); } -static int __devinit ttusbir_probe (struct usb_interface *intf, +static int ttusbir_probe (struct usb_interface *intf,const struct usb_device_id *id) {struct ttusbir *tt;
drivers/media/rc/winbond-cir.c +1 -1
@@ -941,7 +941,7 @@ wbcir_resume(struct pnp_dev *device)return 0 ; } -static int __devinit +static int wbcir_probe (struct pnp_dev *device,const struct pnp_device_id *dev_id) {struct device *dev = &device->dev;
drivers/media/usb/gspca/spca506.c +1 -1
@@ -590,7 +590,7 @@ static const struct usb_device_id device_table[] = {MODULE_DEVICE_TABLE (usb, device_table);/* -- device connect -- */ -static int __devinit sd_probe (struct usb_interface *intf, +static int sd_probe (struct usb_interface *intf,const struct usb_device_id *id) { return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd),
drivers/media/usb/siano/smsusb.c +1 -1
@@ -389,7 +389,7 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)return rc; } -static int __devinit smsusb_probe (struct usb_interface *intf, +static int smsusb_probe (struct usb_interface *intf,const struct usb_device_id *id) {struct usb_device *udev =interface_to_usbdev (intf);
drivers/media/usb/usbvision/usbvision-video.c +2 -2
@@ -1363,7 +1363,7 @@ static void usbvision_unregister_video(struct usb_usbvision *usbvision) }/* register video4linux devices */ -static int __devinit usbvision_register_video (struct usb_usbvision *usbvision) +static int usbvision_register_video (struct usb_usbvision *usbvision) {/* Video Device: */ usbvision->vdev = usbvision_vdev_init(usbvision,
@@ -1510,7 +1510,7 @@ static void usbvision_configure_video(struct usb_usbvision *usbvision)* if it looks like USBVISION video device * */ -static int __devinit usbvision_probe (struct usb_interface *intf, +static int usbvision_probe (struct usb_interface *intf,const struct usb_device_id *devid) {struct usb_device *dev =usb_get_dev (interface_to_usbdev (intf));
Signature · 1 line
1.8.0
PATCH 234/493 media: remove use of __devinit
Quoted 8 lines · Bill Pemberton
drivers/media/platform/sh_vou.c | 2 +- drivers/media/platform/soc_camera/atmel-isi.c | 2 +- drivers/media/platform/soc_camera/mx2_camera.c | 4 ++-- drivers/media/platform/soc_camera/mx3_camera.c | 2 +- drivers/media/platform/soc_camera/pxa_camera.c | 2 +- .../platform/soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/platform/soc_camera/sh_mobile_csi2.c | 2 +- drivers/media/platform/soc_camera/soc_camera.c | 2 +-
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
PATCH 234/493 media: remove use of __devinit
In reply to Bill PembertonQuoted 3 lines · Bill Pemberton
CONFIG_HOTPLUGis going away as an option so__devinitis no longer needed.
---
[Snip]
...
Quoted 8 lines
drivers/media/platform/davinci/dm355_ccdc.c | 2 +- drivers/media/platform/davinci/dm644x_ccdc.c | 2 +- drivers/media/platform/davinci/isif.c | 2 +- drivers/media/platform/davinci/vpbe.c | 2 +- drivers/media/platform/davinci/vpbe_display.c | 6 ++--- drivers/media/platform/davinci/vpfe_capture.c | 2 +- drivers/media/platform/davinci/vpif.c | 2 +- drivers/media/platform/davinci/vpss.c | 2 +-
Regards,
--Prabhakar
Quoted 7 lines
--
1.8.0--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html