diff options
| author | Crestez Dan Leonard <[email protected]> | 2016-04-20 16:15:09 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-04-25 19:38:52 +0100 |
| commit | aadd3076db9d37a593dca1f16b35a87e0bd59005 (patch) | |
| tree | a6a5289eecb15eb0f25245044c679350fa055235 /tools/perf/scripts/python/bin | |
| parent | 62979904b0037430ecc7d8b682f684adced1340f (diff) | |
iio: inv_mpu6050: Cleanup hw_info mapping
The hw_info array was indexed by enum inv_devices chip_type despite the
fact that the enumeration had more members than the array and was
ordered differently.
The patch cleans this up and adds explicit chip_types to i2c/spi/acpi
IDs. It also adds some stricter checks inside the driver core.
This happened to work so far because the differences between the
supported models are very minor.
Signed-off-by: Crestez Dan Leonard <[email protected]>
Acked-by: Ge Gao <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions