From 9935c3921e48c015f5a4e71e565c1bd8ba0348a6 Mon Sep 17 00:00:00 2001 From: Naga Radhesh Date: Fri, 16 Dec 2011 17:14:44 +0530 Subject: Documentation:add kernel-doc for pressure sensor add kernel-docs for the pressure sensor. ST-Ericsson ID: 371766 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:I1977bdbc13dde20ca14f50e70f0f4746367a172b Signed-off-by: Naga Radhesh Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42897 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR --- Documentation/DocBook/Makefile | 3 +- Documentation/DocBook/lps001wp_prs.tmpl | 89 +++++++++++++++++++++++++++++++++ include/linux/input/lps001wp.h | 9 ++++ 3 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 Documentation/DocBook/lps001wp_prs.tmpl diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 66725a3d30d..851250c8400 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile @@ -14,7 +14,8 @@ DOCBOOKS := z8530book.xml mcabook.xml device-drivers.xml \ genericirq.xml s390-drivers.xml uio-howto.xml scsi.xml \ 80211.xml debugobjects.xml sh.xml regulator.xml \ alsa-driver-api.xml writing-an-alsa-driver.xml \ - tracepoint.xml drm.xml media_api.xml + tracepoint.xml drm.xml media_api.xml \ + lps001wp_prs.xml include $(srctree)/Documentation/DocBook/media/Makefile diff --git a/Documentation/DocBook/lps001wp_prs.tmpl b/Documentation/DocBook/lps001wp_prs.tmpl new file mode 100644 index 00000000000..4b3f69ab967 --- /dev/null +++ b/Documentation/DocBook/lps001wp_prs.tmpl @@ -0,0 +1,89 @@ + + + + + + LPS001WP Pressure and temperature + + + + Matteo Dameno,Carmine Iascone + + +
+ matteo.dameno@st.com,carmine.iascone@st.com +
+
+
+
+ + + 2011 + ST-Ericsson + + + + + Linux standard functions + + + + + + License terms: GNU General Public License (GPL) version 2. + + + +
+ + + + + Introduction + + This documentation describes the pressure and temperature sensor driver for LPS001WP chip. + + + + + Known Bugs And Assumptions + + + + None + + + None. + + + + + + + + + Structures + + This chapter contains the autogenerated documentation of the structures which are + used in the pressure/temperature sensor driver. + +!Iinclude/linux/input/lps001wp.h + + + + Public Functions Provided + + This pressure/temperature drivers don't export any functions. + + + + + Internal Functions Provided + + This chapter contains the autogenerated documentation of the internal functions. + +!Idrivers/input/misc/lps001wp_prs.c + + +
diff --git a/include/linux/input/lps001wp.h b/include/linux/input/lps001wp.h index 46e2fc10ede..d83cf924048 100644 --- a/include/linux/input/lps001wp.h +++ b/include/linux/input/lps001wp.h @@ -63,6 +63,15 @@ #ifdef __KERNEL__ +/** + * struct lps001wp_prs_platform_data - platform datastructure for lps001wp_prs + * @poll_interval: maximum polling interval + * @min_interval: minimum polling interval + * @init: pointer to init function + * @exit: pointer to deinitialisation function + * @power_on: pointer to device enable function + * @power_off: pointer to device disable function + */ struct lps001wp_prs_platform_data { int poll_interval; -- cgit v1.2.3