diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-14 17:43:23 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-14 17:43:23 -0400 |
| commit | 503698e12d68f6144b408b11156ad315943ffb53 (patch) | |
| tree | 378979f76b321a114e910da59e06f1d6c2ff625e /include/linux/platform_data | |
| parent | 6391f34e844c71ebf645058b2b643f70fed5b990 (diff) | |
| parent | 78cebd0889c7b8b92f43e7667efc16636b858c34 (diff) | |
Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon updates from Guenter Roeck:
- new driver for Sensirion SHTC1 humidity / temperature sensor
- convert ltc4151 and vexpress drivers to use devm functions
- drop generic chip detection from lm85 driver
- avoid forward declarations in atxp1 driver
- fix sign extensions in ina2xx driver
* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: vexpress: Use devm helper for hwmon device registration
hwmon: (atxp1) Avoid forward declaration
hwmon: add support for Sensirion SHTC1 sensor
hwmon: (ltc4151) Convert to devm_hwmon_device_register_with_groups
hwmon: (lm85) Drop generic detection
hwmon: (ina2xx) Cast to s16 on shunt and current regs
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/shtc1.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/platform_data/shtc1.h b/include/linux/platform_data/shtc1.h new file mode 100644 index 000000000000..7b8c353f7dc8 --- /dev/null +++ b/include/linux/platform_data/shtc1.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2014 Sensirion AG, Switzerland | ||
| 3 | * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com> | ||
| 4 | * | ||
| 5 | * This software is licensed under the terms of the GNU General Public | ||
| 6 | * License version 2, as published by the Free Software Foundation, and | ||
| 7 | * may be copied, distributed, and modified under those terms. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | */ | ||
| 15 | |||
| 16 | #ifndef __SHTC1_H_ | ||
| 17 | #define __SHTC1_H_ | ||
| 18 | |||
| 19 | struct shtc1_platform_data { | ||
| 20 | bool blocking_io; | ||
| 21 | bool high_precision; | ||
| 22 | }; | ||
| 23 | #endif /* __SHTC1_H_ */ | ||
