Quite a lot of activity in SPI this cycle, almost all of it in drivers
 with a few minor improvements and tweaks in the core.
 
  - Updates to pxa2xx to support Intel Broxton and multiple chip selects.
  - Support for big endian in the bcm63xx driver.
  - Multiple slave support for the mt8173
  - New driver for the auxiliary SPI controller in bcm2835 SoCs.
  - Support for Layerscale SoCs in the Freescale DSPI driver.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJWOehzAAoJECTWi3JdVIfQTPYH+wYMDG8gAIw2s0AJ4DvVe4qZ
 sOAm1UgUJZxssrEA6BNqbfM0dfRo+oQJKmRd0Dc5n7LEMsYHdI/5yKHk8PCS6ZzD
 iQyQCzbd0thDAqwuPaMP62cyPDHwyJX22VGTsgVnj6AZqAQ+9+g4SPKhFnm1Mlm4
 hmDi6fdSrsqo8k8gkpVN8RFOfVsjAV1dLtAauQRWDHrqMxXURSrKG76eqAqUa5bn
 BLPXBoj5PA0DMLPO2j+ADZwWN723LrI2mSSlc+ThjEX/OIt2OhAoiOTV5RPqaafy
 TIsCkh68q/gYAsL5HtvvmgZByl41FLYiO0Z+rXmWUyMMbnvhZTLws9S2BNpBLuk=
 =DgXG
 -----END PGP SIGNATURE-----

Merge tag 'spi-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Pull spi updates from Mark Brown:
 "Quite a lot of activity in SPI this cycle, almost all of it in drivers
  with a few minor improvements and tweaks in the core.

   - Updates to pxa2xx to support Intel Broxton and multiple chip selects.
   - Support for big endian in the bcm63xx driver.
   - Multiple slave support for the mt8173
   - New driver for the auxiliary SPI controller in bcm2835 SoCs.
   - Support for Layerscale SoCs in the Freescale DSPI driver"

* tag 'spi-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (87 commits)
  spi: pxa2xx: Rework self-initiated platform data creation for non-ACPI
  spi: pxa2xx: Add support for Intel Broxton
  spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals
  spi: pxa2xx: Add output control for multiple Intel LPSS chip selects
  spi: pxa2xx: Use LPSS prefix for defines that are Intel LPSS specific
  spi: Add DSPI support for layerscape family
  spi: ti-qspi: improve ->remove() callback
  spi/spi-xilinx: Fix race condition on last word read
  spi: Drop owner assignment from spi_drivers
  spi: Add THIS_MODULE to spi_driver in SPI core
  spi: Setup the master controller driver before setting the chipselect
  spi: dw: replace magic constant by DW_SPI_DR
  spi: mediatek: mt8173 spi multiple devices support
  spi: mediatek: handle controller_data in mtk_spi_setup
  spi: mediatek: remove mtk_spi_config
  spi: mediatek: Update document devicetree bindings to support multiple devices
  spi: fix kernel-doc warnings about missing return desc in spi.c
  spi: fix kernel-doc warnings about missing return desc in spi.h
  spi: pxa2xx: Align a few defines
  spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select
  ...
This commit is contained in:
Linus Torvalds 2015-11-05 13:15:12 -08:00
Родитель 52787e91bf c70efb8515
Коммит 75f5db39ff
247 изменённых файлов: 1407 добавлений и 929 удалений

Просмотреть файл

@ -0,0 +1,38 @@
Broadcom BCM2835 auxiliar SPI1/2 controller
The BCM2835 contains two forms of SPI master controller, one known simply as
SPI0, and the other known as the "Universal SPI Master"; part of the
auxiliary block. This binding applies to the SPI1/2 controller.
Required properties:
- compatible: Should be "brcm,bcm2835-aux-spi".
- reg: Should contain register location and length for the spi block
- interrupts: Should contain shared interrupt of the aux block
- clocks: The clock feeding the SPI controller - needs to
point to the auxiliar clock driver of the bcm2835,
as this clock will enable the output gate for the specific
clock.
- cs-gpios: the cs-gpios (native cs is NOT supported)
see also spi-bus.txt
Example:
spi1@7e215080 {
compatible = "brcm,bcm2835-aux-spi";
reg = <0x7e215080 0x40>;
interrupts = <1 29>;
clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI1>;
#address-cells = <1>;
#size-cells = <0>;
cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>;
};
spi2@7e2150c0 {
compatible = "brcm,bcm2835-aux-spi";
reg = <0x7e2150c0 0x40>;
interrupts = <1 29>;
clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>;
#address-cells = <1>;
#size-cells = <0>;
cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>;
};

Просмотреть файл

@ -29,8 +29,11 @@ Required properties:
muxes clock, and "spi-clk" for the clock gate. muxes clock, and "spi-clk" for the clock gate.
Optional properties: Optional properties:
-cs-gpios: see spi-bus.txt, only required for MT8173.
- mediatek,pad-select: specify which pins group(ck/mi/mo/cs) spi - mediatek,pad-select: specify which pins group(ck/mi/mo/cs) spi
controller used, this value should be 0~3, only required for MT8173. controller used. This is a array, the element value should be 0~3,
only required for MT8173.
0: specify GPIO69,70,71,72 for spi pins. 0: specify GPIO69,70,71,72 for spi pins.
1: specify GPIO102,103,104,105 for spi pins. 1: specify GPIO102,103,104,105 for spi pins.
2: specify GPIO128,129,130,131 for spi pins. 2: specify GPIO128,129,130,131 for spi pins.
@ -49,7 +52,7 @@ spi: spi@1100a000 {
<&topckgen CLK_TOP_SPI_SEL>, <&topckgen CLK_TOP_SPI_SEL>,
<&pericfg CLK_PERI_SPI0>; <&pericfg CLK_PERI_SPI0>;
clock-names = "parent-clk", "sel-clk", "spi-clk"; clock-names = "parent-clk", "sel-clk", "spi-clk";
cs-gpios = <&pio 105 GPIO_ACTIVE_LOW>, <&pio 72 GPIO_ACTIVE_LOW>;
mediatek,pad-select = <0>; mediatek,pad-select = <1>, <0>;
status = "disabled"; status = "disabled";
}; };

Просмотреть файл

@ -264,7 +264,6 @@ static const struct of_device_id pl022_dummy_dt_match[] = {
static struct spi_driver pl022_dummy_driver = { static struct spi_driver pl022_dummy_driver = {
.driver = { .driver = {
.name = "spi-dummy", .name = "spi-dummy",
.owner = THIS_MODULE,
.of_match_table = pl022_dummy_dt_match, .of_match_table = pl022_dummy_dt_match,
}, },
.probe = pl022_dummy_probe, .probe = pl022_dummy_probe,

Просмотреть файл

@ -18,29 +18,6 @@
#include <bcm63xx_dev_spi.h> #include <bcm63xx_dev_spi.h>
#include <bcm63xx_regs.h> #include <bcm63xx_regs.h>
/*
* register offsets
*/
static const unsigned long bcm6348_regs_spi[] = {
__GEN_SPI_REGS_TABLE(6348)
};
static const unsigned long bcm6358_regs_spi[] = {
__GEN_SPI_REGS_TABLE(6358)
};
const unsigned long *bcm63xx_regs_spi;
EXPORT_SYMBOL(bcm63xx_regs_spi);
static __init void bcm63xx_spi_regs_init(void)
{
if (BCMCPU_IS_6338() || BCMCPU_IS_6348())
bcm63xx_regs_spi = bcm6348_regs_spi;
if (BCMCPU_IS_3368() || BCMCPU_IS_6358() ||
BCMCPU_IS_6362() || BCMCPU_IS_6368())
bcm63xx_regs_spi = bcm6358_regs_spi;
}
static struct resource spi_resources[] = { static struct resource spi_resources[] = {
{ {
.start = -1, /* filled at runtime */ .start = -1, /* filled at runtime */
@ -53,19 +30,10 @@ static struct resource spi_resources[] = {
}, },
}; };
static struct bcm63xx_spi_pdata spi_pdata = {
.bus_num = 0,
.num_chipselect = 8,
};
static struct platform_device bcm63xx_spi_device = { static struct platform_device bcm63xx_spi_device = {
.name = "bcm63xx-spi",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(spi_resources), .num_resources = ARRAY_SIZE(spi_resources),
.resource = spi_resources, .resource = spi_resources,
.dev = {
.platform_data = &spi_pdata,
},
}; };
int __init bcm63xx_spi_register(void) int __init bcm63xx_spi_register(void)
@ -78,21 +46,15 @@ int __init bcm63xx_spi_register(void)
spi_resources[1].start = bcm63xx_get_irq_number(IRQ_SPI); spi_resources[1].start = bcm63xx_get_irq_number(IRQ_SPI);
if (BCMCPU_IS_6338() || BCMCPU_IS_6348()) { if (BCMCPU_IS_6338() || BCMCPU_IS_6348()) {
bcm63xx_spi_device.name = "bcm6348-spi",
spi_resources[0].end += BCM_6348_RSET_SPI_SIZE - 1; spi_resources[0].end += BCM_6348_RSET_SPI_SIZE - 1;
spi_pdata.fifo_size = SPI_6348_MSG_DATA_SIZE;
spi_pdata.msg_type_shift = SPI_6348_MSG_TYPE_SHIFT;
spi_pdata.msg_ctl_width = SPI_6348_MSG_CTL_WIDTH;
} }
if (BCMCPU_IS_3368() || BCMCPU_IS_6358() || BCMCPU_IS_6362() || if (BCMCPU_IS_3368() || BCMCPU_IS_6358() || BCMCPU_IS_6362() ||
BCMCPU_IS_6368()) { BCMCPU_IS_6368()) {
bcm63xx_spi_device.name = "bcm6358-spi",
spi_resources[0].end += BCM_6358_RSET_SPI_SIZE - 1; spi_resources[0].end += BCM_6358_RSET_SPI_SIZE - 1;
spi_pdata.fifo_size = SPI_6358_MSG_DATA_SIZE;
spi_pdata.msg_type_shift = SPI_6358_MSG_TYPE_SHIFT;
spi_pdata.msg_ctl_width = SPI_6358_MSG_CTL_WIDTH;
} }
bcm63xx_spi_regs_init();
return platform_device_register(&bcm63xx_spi_device); return platform_device_register(&bcm63xx_spi_device);
} }

Просмотреть файл

@ -7,48 +7,4 @@
int __init bcm63xx_spi_register(void); int __init bcm63xx_spi_register(void);
struct bcm63xx_spi_pdata {
unsigned int fifo_size;
unsigned int msg_type_shift;
unsigned int msg_ctl_width;
int bus_num;
int num_chipselect;
};
enum bcm63xx_regs_spi {
SPI_CMD,
SPI_INT_STATUS,
SPI_INT_MASK_ST,
SPI_INT_MASK,
SPI_ST,
SPI_CLK_CFG,
SPI_FILL_BYTE,
SPI_MSG_TAIL,
SPI_RX_TAIL,
SPI_MSG_CTL,
SPI_MSG_DATA,
SPI_RX_DATA,
};
#define __GEN_SPI_REGS_TABLE(__cpu) \
[SPI_CMD] = SPI_## __cpu ##_CMD, \
[SPI_INT_STATUS] = SPI_## __cpu ##_INT_STATUS, \
[SPI_INT_MASK_ST] = SPI_## __cpu ##_INT_MASK_ST, \
[SPI_INT_MASK] = SPI_## __cpu ##_INT_MASK, \
[SPI_ST] = SPI_## __cpu ##_ST, \
[SPI_CLK_CFG] = SPI_## __cpu ##_CLK_CFG, \
[SPI_FILL_BYTE] = SPI_## __cpu ##_FILL_BYTE, \
[SPI_MSG_TAIL] = SPI_## __cpu ##_MSG_TAIL, \
[SPI_RX_TAIL] = SPI_## __cpu ##_RX_TAIL, \
[SPI_MSG_CTL] = SPI_## __cpu ##_MSG_CTL, \
[SPI_MSG_DATA] = SPI_## __cpu ##_MSG_DATA, \
[SPI_RX_DATA] = SPI_## __cpu ##_RX_DATA,
static inline unsigned long bcm63xx_spireg(enum bcm63xx_regs_spi reg)
{
extern const unsigned long *bcm63xx_regs_spi;
return bcm63xx_regs_spi[reg];
}
#endif /* BCM63XX_DEV_SPI_H */ #endif /* BCM63XX_DEV_SPI_H */

Просмотреть файл

@ -80,7 +80,6 @@ static int __init early_seeprom_probe(struct spi_device *spi)
static struct spi_driver early_seeprom_driver __initdata = { static struct spi_driver early_seeprom_driver __initdata = {
.driver = { .driver = {
.name = "at25", .name = "at25",
.owner = THIS_MODULE,
}, },
.probe = early_seeprom_probe, .probe = early_seeprom_probe,
}; };

Просмотреть файл

@ -381,7 +381,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_spi_ops, st33zp24_pm_suspend,
static struct spi_driver tpm_st33_spi_driver = { static struct spi_driver tpm_st33_spi_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = TPM_ST33_SPI, .name = TPM_ST33_SPI,
.pm = &st33zp24_spi_ops, .pm = &st33zp24_spi_ops,
.of_match_table = of_match_ptr(of_st33zp24_spi_match), .of_match_table = of_match_ptr(of_st33zp24_spi_match),

Просмотреть файл

@ -183,7 +183,6 @@ MODULE_DEVICE_TABLE(of, gen_74x164_dt_ids);
static struct spi_driver gen_74x164_driver = { static struct spi_driver gen_74x164_driver = {
.driver = { .driver = {
.name = "74x164", .name = "74x164",
.owner = THIS_MODULE,
.of_match_table = gen_74x164_dt_ids, .of_match_table = gen_74x164_dt_ids,
}, },
.probe = gen_74x164_probe, .probe = gen_74x164_probe,

Просмотреть файл

@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(spi, max7301_id);
static struct spi_driver max7301_driver = { static struct spi_driver max7301_driver = {
.driver = { .driver = {
.name = "max7301", .name = "max7301",
.owner = THIS_MODULE,
}, },
.probe = max7301_probe, .probe = max7301_probe,
.remove = max7301_remove, .remove = max7301_remove,

Просмотреть файл

@ -163,7 +163,6 @@ static int mc33880_remove(struct spi_device *spi)
static struct spi_driver mc33880_driver = { static struct spi_driver mc33880_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
.probe = mc33880_probe, .probe = mc33880_probe,
.remove = mc33880_remove, .remove = mc33880_remove,

Просмотреть файл

@ -848,7 +848,6 @@ MODULE_DEVICE_TABLE(i2c, mcp230xx_id);
static struct i2c_driver mcp230xx_driver = { static struct i2c_driver mcp230xx_driver = {
.driver = { .driver = {
.name = "mcp230xx", .name = "mcp230xx",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(mcp23s08_i2c_of_match), .of_match_table = of_match_ptr(mcp23s08_i2c_of_match),
}, },
.probe = mcp230xx_probe, .probe = mcp230xx_probe,
@ -1021,7 +1020,6 @@ static struct spi_driver mcp23s08_driver = {
.id_table = mcp23s08_ids, .id_table = mcp23s08_ids,
.driver = { .driver = {
.name = "mcp23s08", .name = "mcp23s08",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(mcp23s08_spi_of_match), .of_match_table = of_match_ptr(mcp23s08_spi_of_match),
}, },
}; };

Просмотреть файл

@ -287,7 +287,6 @@ static struct spi_driver lg4573_driver = {
.remove = lg4573_remove, .remove = lg4573_remove,
.driver = { .driver = {
.name = "lg4573", .name = "lg4573",
.owner = THIS_MODULE,
.of_match_table = lg4573_of_match, .of_match_table = lg4573_of_match,
}, },
}; };

Просмотреть файл

@ -378,7 +378,6 @@ static struct spi_driver ld9040_driver = {
.remove = ld9040_remove, .remove = ld9040_remove,
.driver = { .driver = {
.name = "panel-samsung-ld9040", .name = "panel-samsung-ld9040",
.owner = THIS_MODULE,
.of_match_table = ld9040_of_match, .of_match_table = ld9040_of_match,
}, },
}; };

Просмотреть файл

@ -157,7 +157,6 @@ MODULE_DEVICE_TABLE(spi, ad7314_id);
static struct spi_driver ad7314_driver = { static struct spi_driver ad7314_driver = {
.driver = { .driver = {
.name = "ad7314", .name = "ad7314",
.owner = THIS_MODULE,
}, },
.probe = ad7314_probe, .probe = ad7314_probe,
.remove = ad7314_remove, .remove = ad7314_remove,

Просмотреть файл

@ -234,7 +234,6 @@ MODULE_DEVICE_TABLE(spi, adcxx_ids);
static struct spi_driver adcxx_driver = { static struct spi_driver adcxx_driver = {
.driver = { .driver = {
.name = "adcxx", .name = "adcxx",
.owner = THIS_MODULE,
}, },
.id_table = adcxx_ids, .id_table = adcxx_ids,
.probe = adcxx_probe, .probe = adcxx_probe,

Просмотреть файл

@ -237,7 +237,6 @@ static int ads7871_remove(struct spi_device *spi)
static struct spi_driver ads7871_driver = { static struct spi_driver ads7871_driver = {
.driver = { .driver = {
.name = DEVICE_NAME, .name = DEVICE_NAME,
.owner = THIS_MODULE,
}, },
.probe = ads7871_probe, .probe = ads7871_probe,

Просмотреть файл

@ -104,7 +104,6 @@ MODULE_DEVICE_TABLE(spi, adt7310_id);
static struct spi_driver adt7310_driver = { static struct spi_driver adt7310_driver = {
.driver = { .driver = {
.name = "adt7310", .name = "adt7310",
.owner = THIS_MODULE,
.pm = ADT7X10_DEV_PM_OPS, .pm = ADT7X10_DEV_PM_OPS,
}, },
.probe = adt7310_spi_probe, .probe = adt7310_spi_probe,

Просмотреть файл

@ -199,7 +199,6 @@ MODULE_DEVICE_TABLE(spi, lm70_ids);
static struct spi_driver lm70_driver = { static struct spi_driver lm70_driver = {
.driver = { .driver = {
.name = "lm70", .name = "lm70",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(lm70_of_ids), .of_match_table = of_match_ptr(lm70_of_ids),
}, },
.id_table = lm70_ids, .id_table = lm70_ids,

Просмотреть файл

@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(spi, max1111_ids);
static struct spi_driver max1111_driver = { static struct spi_driver max1111_driver = {
.driver = { .driver = {
.name = "max1111", .name = "max1111",
.owner = THIS_MODULE,
}, },
.id_table = max1111_ids, .id_table = max1111_ids,
.probe = max1111_probe, .probe = max1111_probe,

Просмотреть файл

@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(spi, kxsd9_id);
static struct spi_driver kxsd9_driver = { static struct spi_driver kxsd9_driver = {
.driver = { .driver = {
.name = "kxsd9", .name = "kxsd9",
.owner = THIS_MODULE,
}, },
.probe = kxsd9_probe, .probe = kxsd9_probe,
.remove = kxsd9_remove, .remove = kxsd9_remove,

Просмотреть файл

@ -64,7 +64,6 @@ MODULE_DEVICE_TABLE(spi, st_accel_id_table);
static struct spi_driver st_accel_driver = { static struct spi_driver st_accel_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "st-accel-spi", .name = "st-accel-spi",
}, },
.probe = st_accel_spi_probe, .probe = st_accel_spi_probe,

Просмотреть файл

@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(spi, ad7266_id);
static struct spi_driver ad7266_driver = { static struct spi_driver ad7266_driver = {
.driver = { .driver = {
.name = "ad7266", .name = "ad7266",
.owner = THIS_MODULE,
}, },
.probe = ad7266_probe, .probe = ad7266_probe,
.remove = ad7266_remove, .remove = ad7266_remove,

Просмотреть файл

@ -378,7 +378,6 @@ MODULE_DEVICE_TABLE(spi, ad7298_id);
static struct spi_driver ad7298_driver = { static struct spi_driver ad7298_driver = {
.driver = { .driver = {
.name = "ad7298", .name = "ad7298",
.owner = THIS_MODULE,
}, },
.probe = ad7298_probe, .probe = ad7298_probe,
.remove = ad7298_remove, .remove = ad7298_remove,

Просмотреть файл

@ -302,7 +302,6 @@ MODULE_DEVICE_TABLE(spi, ad7476_id);
static struct spi_driver ad7476_driver = { static struct spi_driver ad7476_driver = {
.driver = { .driver = {
.name = "ad7476", .name = "ad7476",
.owner = THIS_MODULE,
}, },
.probe = ad7476_probe, .probe = ad7476_probe,
.remove = ad7476_remove, .remove = ad7476_remove,

Просмотреть файл

@ -440,7 +440,6 @@ MODULE_DEVICE_TABLE(spi, ad7791_spi_ids);
static struct spi_driver ad7791_driver = { static struct spi_driver ad7791_driver = {
.driver = { .driver = {
.name = "ad7791", .name = "ad7791",
.owner = THIS_MODULE,
}, },
.probe = ad7791_probe, .probe = ad7791_probe,
.remove = ad7791_remove, .remove = ad7791_remove,

Просмотреть файл

@ -852,7 +852,6 @@ MODULE_DEVICE_TABLE(spi, ad7793_id);
static struct spi_driver ad7793_driver = { static struct spi_driver ad7793_driver = {
.driver = { .driver = {
.name = "ad7793", .name = "ad7793",
.owner = THIS_MODULE,
}, },
.probe = ad7793_probe, .probe = ad7793_probe,
.remove = ad7793_remove, .remove = ad7793_remove,

Просмотреть файл

@ -356,7 +356,6 @@ MODULE_DEVICE_TABLE(spi, ad7887_id);
static struct spi_driver ad7887_driver = { static struct spi_driver ad7887_driver = {
.driver = { .driver = {
.name = "ad7887", .name = "ad7887",
.owner = THIS_MODULE,
}, },
.probe = ad7887_probe, .probe = ad7887_probe,
.remove = ad7887_remove, .remove = ad7887_remove,

Просмотреть файл

@ -357,7 +357,6 @@ MODULE_DEVICE_TABLE(spi, ad7923_id);
static struct spi_driver ad7923_driver = { static struct spi_driver ad7923_driver = {
.driver = { .driver = {
.name = "ad7923", .name = "ad7923",
.owner = THIS_MODULE,
}, },
.probe = ad7923_probe, .probe = ad7923_probe,
.remove = ad7923_remove, .remove = ad7923_remove,

Просмотреть файл

@ -509,7 +509,6 @@ static struct spi_driver max1027_driver = {
.driver = { .driver = {
.name = "max1027", .name = "max1027",
.of_match_table = of_match_ptr(max1027_adc_dt_ids), .of_match_table = of_match_ptr(max1027_adc_dt_ids),
.owner = THIS_MODULE,
}, },
.probe = max1027_probe, .probe = max1027_probe,
.remove = max1027_remove, .remove = max1027_remove,

Просмотреть файл

@ -405,7 +405,6 @@ static struct spi_driver mcp320x_driver = {
.driver = { .driver = {
.name = "mcp320x", .name = "mcp320x",
.of_match_table = of_match_ptr(mcp320x_dt_ids), .of_match_table = of_match_ptr(mcp320x_dt_ids),
.owner = THIS_MODULE,
}, },
.probe = mcp320x_probe, .probe = mcp320x_probe,
.remove = mcp320x_remove, .remove = mcp320x_remove,

Просмотреть файл

@ -192,7 +192,6 @@ static struct spi_driver adc128_driver = {
.driver = { .driver = {
.name = "adc128s052", .name = "adc128s052",
.of_match_table = of_match_ptr(adc128_of_match), .of_match_table = of_match_ptr(adc128_of_match),
.owner = THIS_MODULE,
}, },
.probe = adc128_probe, .probe = adc128_probe,
.remove = adc128_remove, .remove = adc128_remove,

Просмотреть файл

@ -200,7 +200,6 @@ MODULE_DEVICE_TABLE(spi, ad8366_id);
static struct spi_driver ad8366_driver = { static struct spi_driver ad8366_driver = {
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.owner = THIS_MODULE,
}, },
.probe = ad8366_probe, .probe = ad8366_probe,
.remove = ad8366_remove, .remove = ad8366_remove,

Просмотреть файл

@ -700,7 +700,6 @@ static struct spi_driver ssp_driver = {
.remove = ssp_remove, .remove = ssp_remove,
.driver = { .driver = {
.pm = &ssp_pm_ops, .pm = &ssp_pm_ops,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(ssp_of_match), .of_match_table = of_match_ptr(ssp_of_match),
.name = "sensorhub" .name = "sensorhub"
}, },

Просмотреть файл

@ -568,7 +568,6 @@ MODULE_DEVICE_TABLE(spi, ad5064_spi_ids);
static struct spi_driver ad5064_spi_driver = { static struct spi_driver ad5064_spi_driver = {
.driver = { .driver = {
.name = "ad5064", .name = "ad5064",
.owner = THIS_MODULE,
}, },
.probe = ad5064_spi_probe, .probe = ad5064_spi_probe,
.remove = ad5064_spi_remove, .remove = ad5064_spi_remove,

Просмотреть файл

@ -549,7 +549,6 @@ MODULE_DEVICE_TABLE(spi, ad5360_ids);
static struct spi_driver ad5360_driver = { static struct spi_driver ad5360_driver = {
.driver = { .driver = {
.name = "ad5360", .name = "ad5360",
.owner = THIS_MODULE,
}, },
.probe = ad5360_probe, .probe = ad5360_probe,
.remove = ad5360_remove, .remove = ad5360_remove,

Просмотреть файл

@ -519,7 +519,6 @@ MODULE_DEVICE_TABLE(spi, ad5380_spi_ids);
static struct spi_driver ad5380_spi_driver = { static struct spi_driver ad5380_spi_driver = {
.driver = { .driver = {
.name = "ad5380", .name = "ad5380",
.owner = THIS_MODULE,
}, },
.probe = ad5380_spi_probe, .probe = ad5380_spi_probe,
.remove = ad5380_spi_remove, .remove = ad5380_spi_remove,

Просмотреть файл

@ -524,7 +524,6 @@ static int ad5421_probe(struct spi_device *spi)
static struct spi_driver ad5421_driver = { static struct spi_driver ad5421_driver = {
.driver = { .driver = {
.name = "ad5421", .name = "ad5421",
.owner = THIS_MODULE,
}, },
.probe = ad5421_probe, .probe = ad5421_probe,
}; };

Просмотреть файл

@ -481,7 +481,6 @@ static int ad5446_spi_remove(struct spi_device *spi)
static struct spi_driver ad5446_spi_driver = { static struct spi_driver ad5446_spi_driver = {
.driver = { .driver = {
.name = "ad5446", .name = "ad5446",
.owner = THIS_MODULE,
}, },
.probe = ad5446_spi_probe, .probe = ad5446_spi_probe,
.remove = ad5446_spi_remove, .remove = ad5446_spi_remove,

Просмотреть файл

@ -356,7 +356,6 @@ MODULE_DEVICE_TABLE(spi, ad5449_spi_ids);
static struct spi_driver ad5449_spi_driver = { static struct spi_driver ad5449_spi_driver = {
.driver = { .driver = {
.name = "ad5449", .name = "ad5449",
.owner = THIS_MODULE,
}, },
.probe = ad5449_spi_probe, .probe = ad5449_spi_probe,
.remove = ad5449_spi_remove, .remove = ad5449_spi_remove,

Просмотреть файл

@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(spi, ad5504_id);
static struct spi_driver ad5504_driver = { static struct spi_driver ad5504_driver = {
.driver = { .driver = {
.name = "ad5504", .name = "ad5504",
.owner = THIS_MODULE,
}, },
.probe = ad5504_probe, .probe = ad5504_probe,
.remove = ad5504_remove, .remove = ad5504_remove,

Просмотреть файл

@ -306,7 +306,6 @@ MODULE_DEVICE_TABLE(spi, ad5624r_id);
static struct spi_driver ad5624r_driver = { static struct spi_driver ad5624r_driver = {
.driver = { .driver = {
.name = "ad5624r", .name = "ad5624r",
.owner = THIS_MODULE,
}, },
.probe = ad5624r_probe, .probe = ad5624r_probe,
.remove = ad5624r_remove, .remove = ad5624r_remove,

Просмотреть файл

@ -395,7 +395,6 @@ MODULE_DEVICE_TABLE(spi, ad5686_id);
static struct spi_driver ad5686_driver = { static struct spi_driver ad5686_driver = {
.driver = { .driver = {
.name = "ad5686", .name = "ad5686",
.owner = THIS_MODULE,
}, },
.probe = ad5686_probe, .probe = ad5686_probe,
.remove = ad5686_remove, .remove = ad5686_remove,

Просмотреть файл

@ -610,7 +610,6 @@ MODULE_DEVICE_TABLE(spi, ad5755_id);
static struct spi_driver ad5755_driver = { static struct spi_driver ad5755_driver = {
.driver = { .driver = {
.name = "ad5755", .name = "ad5755",
.owner = THIS_MODULE,
}, },
.probe = ad5755_probe, .probe = ad5755_probe,
.id_table = ad5755_id, .id_table = ad5755_id,

Просмотреть файл

@ -357,7 +357,6 @@ MODULE_DEVICE_TABLE(spi, ad5764_ids);
static struct spi_driver ad5764_driver = { static struct spi_driver ad5764_driver = {
.driver = { .driver = {
.name = "ad5764", .name = "ad5764",
.owner = THIS_MODULE,
}, },
.probe = ad5764_probe, .probe = ad5764_probe,
.remove = ad5764_remove, .remove = ad5764_remove,

Просмотреть файл

@ -461,7 +461,6 @@ MODULE_DEVICE_TABLE(spi, ad5791_id);
static struct spi_driver ad5791_driver = { static struct spi_driver ad5791_driver = {
.driver = { .driver = {
.name = "ad5791", .name = "ad5791",
.owner = THIS_MODULE,
}, },
.probe = ad5791_probe, .probe = ad5791_probe,
.remove = ad5791_remove, .remove = ad5791_remove,

Просмотреть файл

@ -297,7 +297,6 @@ static struct spi_driver ad7303_driver = {
.driver = { .driver = {
.name = "ad7303", .name = "ad7303",
.of_match_table = of_match_ptr(ad7303_spi_of_match), .of_match_table = of_match_ptr(ad7303_spi_of_match),
.owner = THIS_MODULE,
}, },
.probe = ad7303_probe, .probe = ad7303_probe,
.remove = ad7303_remove, .remove = ad7303_remove,

Просмотреть файл

@ -203,7 +203,6 @@ MODULE_DEVICE_TABLE(spi, mcp4922_id);
static struct spi_driver mcp4922_driver = { static struct spi_driver mcp4922_driver = {
.driver = { .driver = {
.name = "mcp4922", .name = "mcp4922",
.owner = THIS_MODULE,
}, },
.probe = mcp4922_probe, .probe = mcp4922_probe,
.remove = mcp4922_remove, .remove = mcp4922_remove,

Просмотреть файл

@ -1027,7 +1027,6 @@ MODULE_DEVICE_TABLE(spi, ad9523_id);
static struct spi_driver ad9523_driver = { static struct spi_driver ad9523_driver = {
.driver = { .driver = {
.name = "ad9523", .name = "ad9523",
.owner = THIS_MODULE,
}, },
.probe = ad9523_probe, .probe = ad9523_probe,
.remove = ad9523_remove, .remove = ad9523_remove,

Просмотреть файл

@ -634,7 +634,6 @@ static struct spi_driver adf4350_driver = {
.driver = { .driver = {
.name = "adf4350", .name = "adf4350",
.of_match_table = of_match_ptr(adf4350_of_match), .of_match_table = of_match_ptr(adf4350_of_match),
.owner = THIS_MODULE,
}, },
.probe = adf4350_probe, .probe = adf4350_probe,
.remove = adf4350_remove, .remove = adf4350_remove,

Просмотреть файл

@ -228,7 +228,6 @@ MODULE_DEVICE_TABLE(spi, adis16080_ids);
static struct spi_driver adis16080_driver = { static struct spi_driver adis16080_driver = {
.driver = { .driver = {
.name = "adis16080", .name = "adis16080",
.owner = THIS_MODULE,
}, },
.probe = adis16080_probe, .probe = adis16080_probe,
.remove = adis16080_remove, .remove = adis16080_remove,

Просмотреть файл

@ -167,7 +167,6 @@ static int adis16130_probe(struct spi_device *spi)
static struct spi_driver adis16130_driver = { static struct spi_driver adis16130_driver = {
.driver = { .driver = {
.name = "adis16130", .name = "adis16130",
.owner = THIS_MODULE,
}, },
.probe = adis16130_probe, .probe = adis16130_probe,
}; };

Просмотреть файл

@ -570,7 +570,6 @@ MODULE_DEVICE_TABLE(spi, adis16136_ids);
static struct spi_driver adis16136_driver = { static struct spi_driver adis16136_driver = {
.driver = { .driver = {
.name = "adis16136", .name = "adis16136",
.owner = THIS_MODULE,
}, },
.id_table = adis16136_ids, .id_table = adis16136_ids,
.probe = adis16136_probe, .probe = adis16136_probe,

Просмотреть файл

@ -435,7 +435,6 @@ MODULE_DEVICE_TABLE(spi, adis16260_id);
static struct spi_driver adis16260_driver = { static struct spi_driver adis16260_driver = {
.driver = { .driver = {
.name = "adis16260", .name = "adis16260",
.owner = THIS_MODULE,
}, },
.probe = adis16260_probe, .probe = adis16260_probe,
.remove = adis16260_remove, .remove = adis16260_remove,

Просмотреть файл

@ -456,7 +456,6 @@ MODULE_DEVICE_TABLE(spi, adxrs450_id);
static struct spi_driver adxrs450_driver = { static struct spi_driver adxrs450_driver = {
.driver = { .driver = {
.name = "adxrs450", .name = "adxrs450",
.owner = THIS_MODULE,
}, },
.probe = adxrs450_probe, .probe = adxrs450_probe,
.id_table = adxrs450_id, .id_table = adxrs450_id,

Просмотреть файл

@ -60,7 +60,6 @@ MODULE_DEVICE_TABLE(spi, st_gyro_id_table);
static struct spi_driver st_gyro_driver = { static struct spi_driver st_gyro_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "st-gyro-spi", .name = "st-gyro-spi",
}, },
.probe = st_gyro_spi_probe, .probe = st_gyro_spi_probe,

Просмотреть файл

@ -986,7 +986,6 @@ MODULE_DEVICE_TABLE(spi, adis16400_id);
static struct spi_driver adis16400_driver = { static struct spi_driver adis16400_driver = {
.driver = { .driver = {
.name = "adis16400", .name = "adis16400",
.owner = THIS_MODULE,
}, },
.id_table = adis16400_id, .id_table = adis16400_id,
.probe = adis16400_probe, .probe = adis16400_probe,

Просмотреть файл

@ -896,7 +896,6 @@ MODULE_DEVICE_TABLE(spi, adis16480_ids);
static struct spi_driver adis16480_driver = { static struct spi_driver adis16480_driver = {
.driver = { .driver = {
.name = "adis16480", .name = "adis16480",
.owner = THIS_MODULE,
}, },
.id_table = adis16480_ids, .id_table = adis16480_ids,
.probe = adis16480_probe, .probe = adis16480_probe,

Просмотреть файл

@ -58,7 +58,6 @@ MODULE_DEVICE_TABLE(spi, st_magn_id_table);
static struct spi_driver st_magn_driver = { static struct spi_driver st_magn_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "st-magn-spi", .name = "st-magn-spi",
}, },
.probe = st_magn_spi_probe, .probe = st_magn_spi_probe,

Просмотреть файл

@ -117,7 +117,6 @@ MODULE_DEVICE_TABLE(spi, ms5611_id);
static struct spi_driver ms5611_driver = { static struct spi_driver ms5611_driver = {
.driver = { .driver = {
.name = "ms5611", .name = "ms5611",
.owner = THIS_MODULE,
}, },
.id_table = ms5611_id, .id_table = ms5611_id,
.probe = ms5611_spi_probe, .probe = ms5611_spi_probe,

Просмотреть файл

@ -56,7 +56,6 @@ MODULE_DEVICE_TABLE(spi, st_press_id_table);
static struct spi_driver st_press_driver = { static struct spi_driver st_press_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "st-press-spi", .name = "st-press-spi",
}, },
.probe = st_press_spi_probe, .probe = st_press_spi_probe,

Просмотреть файл

@ -450,7 +450,6 @@ static struct spi_driver as3935_driver = {
.driver = { .driver = {
.name = "as3935", .name = "as3935",
.of_match_table = of_match_ptr(as3935_of_match), .of_match_table = of_match_ptr(as3935_of_match),
.owner = THIS_MODULE,
.pm = AS3935_PM_OPS, .pm = AS3935_PM_OPS,
}, },
.probe = as3935_probe, .probe = as3935_probe,

Просмотреть файл

@ -113,7 +113,6 @@ static int ad714x_spi_remove(struct spi_device *spi)
static struct spi_driver ad714x_spi_driver = { static struct spi_driver ad714x_spi_driver = {
.driver = { .driver = {
.name = "ad714x_captouch", .name = "ad714x_captouch",
.owner = THIS_MODULE,
.pm = &ad714x_spi_pm, .pm = &ad714x_spi_pm,
}, },
.probe = ad714x_spi_probe, .probe = ad714x_spi_probe,

Просмотреть файл

@ -120,7 +120,6 @@ static SIMPLE_DEV_PM_OPS(adxl34x_spi_pm, adxl34x_spi_suspend,
static struct spi_driver adxl34x_driver = { static struct spi_driver adxl34x_driver = {
.driver = { .driver = {
.name = "adxl34x", .name = "adxl34x",
.owner = THIS_MODULE,
.pm = &adxl34x_spi_pm, .pm = &adxl34x_spi_pm,
}, },
.probe = adxl34x_spi_probe, .probe = adxl34x_spi_probe,

Просмотреть файл

@ -843,7 +843,6 @@ static SIMPLE_DEV_PM_OPS(ad7877_pm, ad7877_suspend, ad7877_resume);
static struct spi_driver ad7877_driver = { static struct spi_driver ad7877_driver = {
.driver = { .driver = {
.name = "ad7877", .name = "ad7877",
.owner = THIS_MODULE,
.pm = &ad7877_pm, .pm = &ad7877_pm,
}, },
.probe = ad7877_probe, .probe = ad7877_probe,

Просмотреть файл

@ -149,7 +149,6 @@ static int ad7879_spi_remove(struct spi_device *spi)
static struct spi_driver ad7879_spi_driver = { static struct spi_driver ad7879_spi_driver = {
.driver = { .driver = {
.name = "ad7879", .name = "ad7879",
.owner = THIS_MODULE,
.pm = &ad7879_pm_ops, .pm = &ad7879_pm_ops,
}, },
.probe = ad7879_spi_probe, .probe = ad7879_spi_probe,

Просмотреть файл

@ -1500,7 +1500,6 @@ static int ads7846_remove(struct spi_device *spi)
static struct spi_driver ads7846_driver = { static struct spi_driver ads7846_driver = {
.driver = { .driver = {
.name = "ads7846", .name = "ads7846",
.owner = THIS_MODULE,
.pm = &ads7846_pm, .pm = &ads7846_pm,
.of_match_table = of_match_ptr(ads7846_dt_ids), .of_match_table = of_match_ptr(ads7846_dt_ids),
}, },

Просмотреть файл

@ -185,7 +185,6 @@ static int cyttsp4_spi_remove(struct spi_device *spi)
static struct spi_driver cyttsp4_spi_driver = { static struct spi_driver cyttsp4_spi_driver = {
.driver = { .driver = {
.name = CYTTSP4_SPI_NAME, .name = CYTTSP4_SPI_NAME,
.owner = THIS_MODULE,
.pm = &cyttsp4_pm_ops, .pm = &cyttsp4_pm_ops,
}, },
.probe = cyttsp4_spi_probe, .probe = cyttsp4_spi_probe,

Просмотреть файл

@ -182,7 +182,6 @@ static int cyttsp_spi_remove(struct spi_device *spi)
static struct spi_driver cyttsp_spi_driver = { static struct spi_driver cyttsp_spi_driver = {
.driver = { .driver = {
.name = CY_SPI_NAME, .name = CY_SPI_NAME,
.owner = THIS_MODULE,
.pm = &cyttsp_pm_ops, .pm = &cyttsp_pm_ops,
}, },
.probe = cyttsp_spi_probe, .probe = cyttsp_spi_probe,

Просмотреть файл

@ -752,7 +752,6 @@ static SIMPLE_DEV_PM_OPS(tsc2005_pm_ops, tsc2005_suspend, tsc2005_resume);
static struct spi_driver tsc2005_driver = { static struct spi_driver tsc2005_driver = {
.driver = { .driver = {
.name = "tsc2005", .name = "tsc2005",
.owner = THIS_MODULE,
.pm = &tsc2005_pm_ops, .pm = &tsc2005_pm_ops,
}, },
.probe = tsc2005_probe, .probe = tsc2005_probe,

Просмотреть файл

@ -122,7 +122,6 @@ static struct spi_driver dac124s085_driver = {
.remove = dac124s085_remove, .remove = dac124s085_remove,
.driver = { .driver = {
.name = "dac124s085", .name = "dac124s085",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -150,7 +150,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state)
spidrv->remove = s5c73m3_spi_remove; spidrv->remove = s5c73m3_spi_remove;
spidrv->probe = s5c73m3_spi_probe; spidrv->probe = s5c73m3_spi_probe;
spidrv->driver.name = S5C73M3_SPI_DRV_NAME; spidrv->driver.name = S5C73M3_SPI_DRV_NAME;
spidrv->driver.owner = THIS_MODULE;
spidrv->driver.of_match_table = s5c73m3_spi_ids; spidrv->driver.of_match_table = s5c73m3_spi_ids;
return spi_register_driver(spidrv); return spi_register_driver(spidrv);

Просмотреть файл

@ -513,7 +513,6 @@ MODULE_DEVICE_TABLE(spi, msi001_id_table);
static struct spi_driver msi001_driver = { static struct spi_driver msi001_driver = {
.driver = { .driver = {
.name = "msi001", .name = "msi001",
.owner = THIS_MODULE,
.suppress_bind_attrs = true, .suppress_bind_attrs = true,
}, },
.probe = msi001_probe, .probe = msi001_probe,

Просмотреть файл

@ -93,7 +93,6 @@ MODULE_DEVICE_TABLE(spi, arizona_spi_ids);
static struct spi_driver arizona_spi_driver = { static struct spi_driver arizona_spi_driver = {
.driver = { .driver = {
.name = "arizona", .name = "arizona",
.owner = THIS_MODULE,
.pm = &arizona_pm_ops, .pm = &arizona_pm_ops,
.of_match_table = of_match_ptr(arizona_of_match), .of_match_table = of_match_ptr(arizona_of_match),
}, },

Просмотреть файл

@ -717,7 +717,6 @@ static struct spi_driver cros_ec_driver_spi = {
.driver = { .driver = {
.name = "cros-ec-spi", .name = "cros-ec-spi",
.of_match_table = of_match_ptr(cros_ec_spi_of_match), .of_match_table = of_match_ptr(cros_ec_spi_of_match),
.owner = THIS_MODULE,
.pm = &cros_ec_spi_pm_ops, .pm = &cros_ec_spi_pm_ops,
}, },
.probe = cros_ec_spi_probe, .probe = cros_ec_spi_probe,

Просмотреть файл

@ -86,7 +86,6 @@ static struct spi_driver da9052_spi_driver = {
.id_table = da9052_spi_id, .id_table = da9052_spi_id,
.driver = { .driver = {
.name = "da9052", .name = "da9052",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -513,7 +513,6 @@ static struct spi_driver ezxpcap_driver = {
.remove = ezx_pcap_remove, .remove = ezx_pcap_remove,
.driver = { .driver = {
.name = "ezx-pcap", .name = "ezx-pcap",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -177,7 +177,6 @@ static struct spi_driver mc13xxx_spi_driver = {
.id_table = mc13xxx_device_id, .id_table = mc13xxx_device_id,
.driver = { .driver = {
.name = "mc13xxx", .name = "mc13xxx",
.owner = THIS_MODULE,
.of_match_table = mc13xxx_dt_ids, .of_match_table = mc13xxx_dt_ids,
}, },
.probe = mc13xxx_spi_probe, .probe = mc13xxx_spi_probe,

Просмотреть файл

@ -135,7 +135,6 @@ static struct spi_driver stmpe_spi_driver = {
.driver = { .driver = {
.name = "stmpe-spi", .name = "stmpe-spi",
.of_match_table = of_match_ptr(stmpe_spi_of_match), .of_match_table = of_match_ptr(stmpe_spi_of_match),
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &stmpe_dev_pm_ops, .pm = &stmpe_dev_pm_ops,
#endif #endif

Просмотреть файл

@ -111,7 +111,6 @@ static int tps65912_spi_remove(struct spi_device *spi)
static struct spi_driver tps65912_spi_driver = { static struct spi_driver tps65912_spi_driver = {
.driver = { .driver = {
.name = "tps65912", .name = "tps65912",
.owner = THIS_MODULE,
}, },
.probe = tps65912_spi_probe, .probe = tps65912_spi_probe,
.remove = tps65912_spi_remove, .remove = tps65912_spi_remove,

Просмотреть файл

@ -96,7 +96,6 @@ MODULE_DEVICE_TABLE(spi, wm831x_spi_ids);
static struct spi_driver wm831x_spi_driver = { static struct spi_driver wm831x_spi_driver = {
.driver = { .driver = {
.name = "wm831x", .name = "wm831x",
.owner = THIS_MODULE,
.pm = &wm831x_spi_pm, .pm = &wm831x_spi_pm,
}, },
.id_table = wm831x_spi_ids, .id_table = wm831x_spi_ids,

Просмотреть файл

@ -132,7 +132,6 @@ MODULE_DEVICE_TABLE(spi, ad_dpot_spi_id);
static struct spi_driver ad_dpot_spi_driver = { static struct spi_driver ad_dpot_spi_driver = {
.driver = { .driver = {
.name = "ad_dpot", .name = "ad_dpot",
.owner = THIS_MODULE,
}, },
.probe = ad_dpot_spi_probe, .probe = ad_dpot_spi_probe,
.remove = ad_dpot_spi_remove, .remove = ad_dpot_spi_remove,

Просмотреть файл

@ -64,7 +64,6 @@ MODULE_DEVICE_TABLE(spi, bmp085_id);
static struct spi_driver bmp085_spi_driver = { static struct spi_driver bmp085_spi_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = BMP085_NAME, .name = BMP085_NAME,
.of_match_table = bmp085_of_match .of_match_table = bmp085_of_match
}, },

Просмотреть файл

@ -462,7 +462,6 @@ MODULE_DEVICE_TABLE(of, at25_of_match);
static struct spi_driver at25_driver = { static struct spi_driver at25_driver = {
.driver = { .driver = {
.name = "at25", .name = "at25",
.owner = THIS_MODULE,
.of_match_table = at25_of_match, .of_match_table = at25_of_match,
}, },
.probe = at25_probe, .probe = at25_probe,

Просмотреть файл

@ -370,7 +370,6 @@ static int eeprom_93xx46_remove(struct spi_device *spi)
static struct spi_driver eeprom_93xx46_driver = { static struct spi_driver eeprom_93xx46_driver = {
.driver = { .driver = {
.name = "93xx46", .name = "93xx46",
.owner = THIS_MODULE,
}, },
.probe = eeprom_93xx46_probe, .probe = eeprom_93xx46_probe,
.remove = eeprom_93xx46_remove, .remove = eeprom_93xx46_remove,

Просмотреть файл

@ -235,7 +235,6 @@ MODULE_DEVICE_TABLE(spi, lattice_ecp3_id);
static struct spi_driver lattice_ecp3_driver = { static struct spi_driver lattice_ecp3_driver = {
.driver = { .driver = {
.name = "lattice-ecp3", .name = "lattice-ecp3",
.owner = THIS_MODULE,
}, },
.probe = lattice_ecp3_probe, .probe = lattice_ecp3_probe,
.remove = lattice_ecp3_remove, .remove = lattice_ecp3_remove,

Просмотреть файл

@ -138,7 +138,6 @@ static SIMPLE_DEV_PM_OPS(lis3lv02d_spi_pm, lis3lv02d_spi_suspend,
static struct spi_driver lis302dl_spi_driver = { static struct spi_driver lis302dl_spi_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.pm = &lis3lv02d_spi_pm, .pm = &lis3lv02d_spi_pm,
.of_match_table = of_match_ptr(lis302dl_spi_dt_ids), .of_match_table = of_match_ptr(lis302dl_spi_dt_ids),
}, },

Просмотреть файл

@ -89,7 +89,6 @@ MODULE_DEVICE_TABLE(of, dac7512_of_match);
static struct spi_driver dac7512_driver = { static struct spi_driver dac7512_driver = {
.driver = { .driver = {
.name = "dac7512", .name = "dac7512",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(dac7512_of_match), .of_match_table = of_match_ptr(dac7512_of_match),
}, },
.probe = dac7512_probe, .probe = dac7512_probe,

Просмотреть файл

@ -1516,7 +1516,6 @@ MODULE_DEVICE_TABLE(of, mmc_spi_of_match_table);
static struct spi_driver mmc_spi_driver = { static struct spi_driver mmc_spi_driver = {
.driver = { .driver = {
.name = "mmc_spi", .name = "mmc_spi",
.owner = THIS_MODULE,
.of_match_table = mmc_spi_of_match_table, .of_match_table = mmc_spi_of_match_table,
}, },
.probe = mmc_spi_probe, .probe = mmc_spi_probe,

Просмотреть файл

@ -304,7 +304,6 @@ MODULE_DEVICE_TABLE(of, m25p_of_table);
static struct spi_driver m25p80_driver = { static struct spi_driver m25p80_driver = {
.driver = { .driver = {
.name = "m25p80", .name = "m25p80",
.owner = THIS_MODULE,
.of_match_table = m25p_of_table, .of_match_table = m25p_of_table,
}, },
.id_table = m25p_ids, .id_table = m25p_ids,

Просмотреть файл

@ -911,7 +911,6 @@ static int dataflash_remove(struct spi_device *spi)
static struct spi_driver dataflash_driver = { static struct spi_driver dataflash_driver = {
.driver = { .driver = {
.name = "mtd_dataflash", .name = "mtd_dataflash",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(dataflash_dt_ids), .of_match_table = of_match_ptr(dataflash_dt_ids),
}, },

Просмотреть файл

@ -417,7 +417,6 @@ static int sst25l_remove(struct spi_device *spi)
static struct spi_driver sst25l_driver = { static struct spi_driver sst25l_driver = {
.driver = { .driver = {
.name = "sst25l", .name = "sst25l",
.owner = THIS_MODULE,
}, },
.probe = sst25l_probe, .probe = sst25l_probe,
.remove = sst25l_remove, .remove = sst25l_remove,

Просмотреть файл

@ -1243,7 +1243,6 @@ static SIMPLE_DEV_PM_OPS(mcp251x_can_pm_ops, mcp251x_can_suspend,
static struct spi_driver mcp251x_can_driver = { static struct spi_driver mcp251x_can_driver = {
.driver = { .driver = {
.name = DEVICE_NAME, .name = DEVICE_NAME,
.owner = THIS_MODULE,
.of_match_table = mcp251x_of_match, .of_match_table = mcp251x_of_match,
.pm = &mcp251x_can_pm_ops, .pm = &mcp251x_can_pm_ops,
}, },

Просмотреть файл

@ -1607,7 +1607,6 @@ static struct spi_driver ks8851_driver = {
.driver = { .driver = {
.name = "ks8851", .name = "ks8851",
.of_match_table = ks8851_match_table, .of_match_table = ks8851_match_table,
.owner = THIS_MODULE,
.pm = &ks8851_pm_ops, .pm = &ks8851_pm_ops,
}, },
.probe = ks8851_probe, .probe = ks8851_probe,

Просмотреть файл

@ -1633,7 +1633,6 @@ static int enc28j60_remove(struct spi_device *spi)
static struct spi_driver enc28j60_driver = { static struct spi_driver enc28j60_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = enc28j60_probe, .probe = enc28j60_probe,
.remove = enc28j60_remove, .remove = enc28j60_remove,

Просмотреть файл

@ -974,7 +974,6 @@ MODULE_DEVICE_TABLE(spi, qca_spi_id);
static struct spi_driver qca_spi_driver = { static struct spi_driver qca_spi_driver = {
.driver = { .driver = {
.name = QCASPI_DRV_NAME, .name = QCASPI_DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = qca_spi_of_match, .of_match_table = qca_spi_of_match,
}, },
.id_table = qca_spi_id, .id_table = qca_spi_id,

Просмотреть файл

@ -1816,7 +1816,6 @@ static struct spi_driver at86rf230_driver = {
.driver = { .driver = {
.of_match_table = of_match_ptr(at86rf230_of_match), .of_match_table = of_match_ptr(at86rf230_of_match),
.name = "at86rf230", .name = "at86rf230",
.owner = THIS_MODULE,
}, },
.probe = at86rf230_probe, .probe = at86rf230_probe,
.remove = at86rf230_remove, .remove = at86rf230_remove,

Просмотреть файл

@ -1152,7 +1152,6 @@ MODULE_DEVICE_TABLE(of, cc2520_of_ids);
static struct spi_driver cc2520_driver = { static struct spi_driver cc2520_driver = {
.driver = { .driver = {
.name = "cc2520", .name = "cc2520",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(cc2520_of_ids), .of_match_table = of_match_ptr(cc2520_of_ids),
}, },
.id_table = cc2520_ids, .id_table = cc2520_ids,

Просмотреть файл

@ -1382,7 +1382,6 @@ static struct spi_driver mrf24j40_driver = {
.driver = { .driver = {
.of_match_table = of_match_ptr(mrf24j40_of_match), .of_match_table = of_match_ptr(mrf24j40_of_match),
.name = "mrf24j40", .name = "mrf24j40",
.owner = THIS_MODULE,
}, },
.id_table = mrf24j40_ids, .id_table = mrf24j40_ids,
.probe = mrf24j40_probe, .probe = mrf24j40_probe,

Просмотреть файл

@ -343,7 +343,6 @@ static int ks8995_remove(struct spi_device *spi)
static struct spi_driver ks8995_driver = { static struct spi_driver ks8995_driver = {
.driver = { .driver = {
.name = "spi-ks8995", .name = "spi-ks8995",
.owner = THIS_MODULE,
}, },
.probe = ks8995_probe, .probe = ks8995_probe,
.remove = ks8995_remove, .remove = ks8995_remove,

Просмотреть файл

@ -467,7 +467,6 @@ static struct spi_driver spi_driver = {
.remove = cw1200_spi_disconnect, .remove = cw1200_spi_disconnect,
.driver = { .driver = {
.name = "cw1200_wlan_spi", .name = "cw1200_wlan_spi",
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &cw1200_pm_ops, .pm = &cw1200_pm_ops,
#endif #endif

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше