summaryrefslogtreecommitdiff
path: root/include/linux/sht15.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2011-04-12 23:34:36 +0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-05-19 19:19:33 +0400
commit99a0378de9f887fd4d501f1baa50aaf16d01a8e8 (patch)
tree1c13bd8f5c89eccfd94e2c8e61323dd70f0a5191 /include/linux/sht15.h
parent83bffbce745795572d20f0109395cb61690c6dcf (diff)
downloadlinux-99a0378de9f887fd4d501f1baa50aaf16d01a8e8.tar.xz
hwmon: (sht15) general code clean-up
* Add a documentation file for the device. * Respect a bit more the kernel-doc syntax. * Rename some variables for clarity. * Use bool type for flags. * Use an enum for states (actions being done). Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'include/linux/sht15.h')
-rw-r--r--include/linux/sht15.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/sht15.h b/include/linux/sht15.h
index 046bce05ecab..1e302146bdc8 100644
--- a/include/linux/sht15.h
+++ b/include/linux/sht15.h
@@ -8,14 +8,18 @@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
+ *
+ * For further information, see the Documentation/hwmon/sht15 file.
*/
/**
* struct sht15_platform_data - sht15 connectivity info
- * @gpio_data: no. of gpio to which bidirectional data line is connected
- * @gpio_sck: no. of gpio to which the data clock is connected.
- * @supply_mv: supply voltage in mv. Overridden by regulator if available.
- **/
+ * @gpio_data: no. of gpio to which bidirectional data line is
+ * connected.
+ * @gpio_sck: no. of gpio to which the data clock is connected.
+ * @supply_mv: supply voltage in mv. Overridden by regulator if
+ * available.
+ */
struct sht15_platform_data {
int gpio_data;
int gpio_sck;