Fix doc warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings. Fix use of doxygen function comments on on function
pointers, which are not considered functions or methods.
Bug: 32018017
Test: m -j
Change-Id: I71a1d33a9ae90b646bf22f32e052bbe22e8aca76
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index b1df317..5a0dce1 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -1151,7 +1151,7 @@
/**
* Enumerate all available sensors. The list is returned in "list".
- * @return number of sensors in the list
+ * return number of sensors in the list
*/
int (*get_sensors_list)(struct sensors_module_t* module,
struct sensor_t const** list);
@@ -1162,7 +1162,7 @@
* 0 - Normal operation. Default state of the module.
* 1 - Loopback mode. Data is injected for the supported
* sensors by the sensor service in this mode.
- * @return 0 on success
+ * return 0 on success
* -EINVAL if requested mode is not supported
* -EPERM if operation is not allowed
*/
@@ -1372,7 +1372,7 @@
/*
* Inject a single sensor sample to be to this device.
* data points to the sensor event to be injected
- * @return 0 on success
+ * return 0 on success
* -EPERM if operation is not allowed
* -EINVAL if sensor event cannot be injected
*/