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
This commit is contained in:
Colin Cross
2016-10-06 16:44:46 -07:00
parent 04302ea2fa
commit 867e1e3043

View File

@@ -1151,7 +1151,7 @@ struct sensors_module_t {
/**
* 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 @@ struct sensors_module_t {
* 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 @@ typedef struct sensors_poll_device_1 {
/*
* 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
*/