Device table matching for SPI subsystem
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 14 repliesIn review
- v17 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- Implemented Ben Dooks' idea of spi_get_device_id(), so we won't call spi_match_id() twice for drivers that don't need the id.
- "spi: Merge probe and probe_id callbacks" patch no longer needed as we don't change probe()'s arguments;
- Rename spi_device_id->data to driver_data, and turn it into kernel_ulong_t to match majority of subsystems. Most drivers don't need a pointer type anyway (e.g. m25p80 needs it, but lm70 and adcxx don't);
- SPI_NAME_SIZE now defined to 32 (as it should be, using 20 for name size was a cut-n-paste typo from I2C defines).
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | spi: Add support for device table matchingdrivers/ include/ include/ +1 more | +54 | 0 replies | |
| 2/6 | mtd: m25p80: Convert to device table matchingdrivers/ | +80 | 33 replies | |
| 3/6 | of: Remove "stm,m25p40" aliasdrivers/ | +0 | 0 replies | |
| 4/6 | hwmon: adxx: Convert to device table matchingdrivers/ | +16 | 0 replies | |
| 5/6 | hwmon: lm70: Convert to device table matchingdrivers/ | +19 | 0 replies | |
| 6/6 | spi: Prefix modalias with "spi:"drivers/ drivers/ drivers/ +33 more | +38 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Anton Vorontsov | Mike Frysinger |
|---|---|---|
| 1/6 | ||
| 2/6 | Not-yet-Signed-off-by | A-b |
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] Device table matching for SPI subsystem
Andrew,
This new patch set overwrites following patches:
hwmon-lm70-convert-to-device-table-matching.patch hwmon-adxx-convert-to-device-table-matching.patch spi-merge-probe-and-probe_id-callbacks.patch spi-prefix-modalias-with-spi.patch of-remove-stmm25p40-alias.patch mtd-m25p80-convert-to-device-table-matching.patch spi-add-support-for-device-table-matching.patch
Changes since v1:
- Implemented Ben Dooks' idea of spi_get_device_id(), so we won't call spi_match_id() twice for drivers that don't need the id.
- "spi: Merge probe and probe_id callbacks" patch no longer needed as we don't change probe()'s arguments;
- Rename spi_device_id->data to driver_data, and turn it into kernel_ulong_t to match majority of subsystems. Most drivers don't need a pointer type anyway (e.g. m25p80 needs it, but lm70 and adcxx don't);
- SPI_NAME_SIZE now defined to 32 (as it should be, using 20 for name size was a cut-n-paste typo from I2C defines).
Thanks!
Signature · 8 lines
Anton Vorontsov email: [email protected] irc://irc.freenode.net/bd2 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors