diff options
| author | Linus Walleij <[email protected]> | 2017-09-10 11:44:46 +0200 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2017-10-29 18:36:03 -0700 |
| commit | 186731145f920fb1514200043bcaf9c689693857 (patch) | |
| tree | 1ba4a4b99bda0fb42cd79770a52f39979e1ee9ed /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 1b50b776355fa6c6d7b3281a63c275d5c18d629d (diff) | |
hwmon: (sht15) Root out platform data
After finding out there are active users of this sensor I noticed:
- It has a single PXA27x board file using the platform data
- The platform data is only used to carry two GPIO pins, all other
fields are unused
- The driver does not use GPIO descriptors but the legacy GPIO
API
I saw we can swiftly fix this by:
- Killing off the platform data entirely
- Define a GPIO descriptor lookup table in the board file
- Use the standard devm_gpiod_get() to grab the GPIO descriptors
from either the device tree or the board file table.
This compiles, but needs testing.
Cc: [email protected]
Cc: Marco Franchi <[email protected]>
Cc: Davide Hug <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Tested-by: Marco Franchi <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions