diff options
| author | Lars-Peter Clausen <[email protected]> | 2016-10-19 19:06:57 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-10-23 19:34:12 +0100 |
| commit | 063a51c5bdefaf7972c6ee7945b05eeb7a842961 (patch) | |
| tree | 52ffb819fe7aef34c527f435c5c7cfea3ede6d9e /tools/perf/scripts/python | |
| parent | 36534b40673510a0bd0a87cdfaf07cb4596a3159 (diff) | |
staging:iio:ad7606: Remove redundant name field from ad7606_chip_info
The name field in the ad7606_chip_info struct is set to the same value as
the as the name field in the corresponding {platform,spi}_device_id table
entry. Remove it from the ad7606_chip_info struct and pass the name from
the ID to the probe function. This slightly reduces the size of the
chip_info table and adding new entries requires less boilerplate.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions