From 48eecdedd91046cea2470471bf0077d47aeee9fa Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Thu, 20 Oct 2011 10:31:40 +0200 Subject: lsm303dlh: add DocBook documentation Adding DocBook documentation for lsm303dlh accelerometer and magnetometer drivers. ST-Ericsson ID: 277198 Change-Id: Idfca43aa6ffaa39b7f73d0135dc6d2b01a0a44c6 Signed-off-by: Chethan Krishna N Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23784 Reviewed-by: Srinidhi KASAGAR Conflicts: Documentation/DocBook/Makefile --- Documentation/DocBook/lsm303dlh.tmpl | 90 ++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/DocBook/lsm303dlh.tmpl (limited to 'Documentation/DocBook/lsm303dlh.tmpl') diff --git a/Documentation/DocBook/lsm303dlh.tmpl b/Documentation/DocBook/lsm303dlh.tmpl new file mode 100644 index 00000000000..3b1c6afa65f --- /dev/null +++ b/Documentation/DocBook/lsm303dlh.tmpl @@ -0,0 +1,90 @@ + + + + + + LSM303DLH Accelerometer and Magnetometer + + + + Chethan Krishna + N + +
+ chethan.krishna@stericsson.com +
+
+
+
+ + + 2010 + ST-Ericsson + + + + + Linux standard functions + + + + + + License terms: GNU General Public License (GPL) version 2. + + + +
+ + + + + Introduction + + This documentation describes the accelerometer and magnetometer drivers for lsm303dlh sensor chip. + + + + + Known Bugs And Assumptions + + + + None + + + None. + + + + + + + + + Public Functions Provided + + This accelerometer/magnetometer drivers don't export any functions. + + + + + Structures + + This chapter contains the autogenerated documentation of the structures which are + used in the accelerometer/magnetometer drivers. + +!Iinclude/linux/lsm303dlh.h + + + + Internal Functions Provided + + This chapter contains the autogenerated documentation of the internal functions. + +!Idrivers/hwmon/lsm303dlh_a.c +!Idrivers/hwmon/lsm303dlh_m.c + + +
-- cgit v1.2.3 From 1fac8853e6267a5bc26b3bac59301493b5c3113b Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Fri, 13 Jan 2012 10:59:07 +0100 Subject: Documentation:add kernel-doc for sensor Add kernel docs for sensors Signed-off-by: Naga Radhesh --- Documentation/DocBook/lsm303dlh.tmpl | 1 + drivers/hwmon/lsm303dlh_a.c | 1 + 2 files changed, 2 insertions(+) (limited to 'Documentation/DocBook/lsm303dlh.tmpl') diff --git a/Documentation/DocBook/lsm303dlh.tmpl b/Documentation/DocBook/lsm303dlh.tmpl index 3b1c6afa65f..1000481e205 100644 --- a/Documentation/DocBook/lsm303dlh.tmpl +++ b/Documentation/DocBook/lsm303dlh.tmpl @@ -84,6 +84,7 @@ This chapter contains the autogenerated documentation of the internal functions. !Idrivers/hwmon/lsm303dlh_a.c +!Idrivers/hwmon/lsm303dlhc_a.c !Idrivers/hwmon/lsm303dlh_m.c diff --git a/drivers/hwmon/lsm303dlh_a.c b/drivers/hwmon/lsm303dlh_a.c index 309d60ae8ec..b9888add334 100644 --- a/drivers/hwmon/lsm303dlh_a.c +++ b/drivers/hwmon/lsm303dlh_a.c @@ -171,6 +171,7 @@ struct lsm303dlh_a_t { * @interrupt_threshold: interrupt threshold for two channels * @early_suspend: early suspend structure * @device_status: device is ON, OFF or SUSPENDED + * @id: accelerometer device id */ struct lsm303dlh_a_data { struct i2c_client *client; -- cgit v1.2.3