diff options
| author | Lars-Peter Clausen <[email protected]> | 2011-11-24 16:29:20 +0100 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-11-28 14:43:58 -0500 |
| commit | 4e3309ba95f0d642efacfcb972251b07c3d29c27 (patch) | |
| tree | f4f75db864967a0d136ea9e273639b8b5385e3f8 /tools/perf/scripts/python/bin | |
| parent | 5220da39b4f6bd2ee69d298111ebebc0de886f2f (diff) | |
wireless: Remove redundant spi driver bus initialization
In ancient times it was necessary to manually initialize the bus field of an
spi_driver to spi_bus_type. These days this is done in spi_driver_register(),
so we can drop the manual assignment.
The patch was generated using the following coccinelle semantic patch:
// <smpl>
@@
identifier _driver;
@@
struct spi_driver _driver = {
.driver = {
- .bus = &spi_bus_type,
},
};
// </smpl>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: "John W. Linville" <[email protected]>
Cc: Christian Lamparter <[email protected]>
Cc: Luciano Coelho <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Luciano Coelho <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions