aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data/sht15.h
AgeCommit message (Collapse)AuthorFilesLines
2017-10-29hwmon: (sht15) Root out platform dataLinus Walleij1-38/+0
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]>
2014-01-14hwmon: (sht15) add include guardVivien Didelot1-0/+5
Add include guard to include/linux/platform_data/sht15.h to prevent multiple inclusion. Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
2012-09-23hwmon: (sht15) move header to linux/platform_data/Vivien Didelot1-0/+33
This patch moves the sht15.h header from include/linux to include/linux/platform_data, and update existing support (stargate2 platform) accordingly. Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>