diff options
author | Bill Napier <napier@google.com> | 2009-06-02 17:45:08 -0700 |
---|---|---|
committer | Bill Napier <napier@google.com> | 2009-06-02 17:46:10 -0700 |
commit | 8d567480b45a801a1955e4743c5eeae431d58f56 (patch) | |
tree | f52fa8d9dd03a80fa857ca1d484ec0f0716c6a25 /include/hardware/sensors.h | |
parent | 21b652f933b21aa37bd73364b486347fcc333d5c (diff) | |
download | hardware_libhardware-8d567480b45a801a1955e4743c5eeae431d58f56.zip hardware_libhardware-8d567480b45a801a1955e4743c5eeae431d58f56.tar.gz hardware_libhardware-8d567480b45a801a1955e4743c5eeae431d58f56.tar.bz2 |
Update open_data_source documentation to accurately reflect the correct return value on error.
Diffstat (limited to 'include/hardware/sensors.h')
-rw-r--r-- | include/hardware/sensors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index 36680d1..a6bee56 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h @@ -284,7 +284,7 @@ struct sensors_control_device_t { * The caller takes ownership of this handle. This is intended to be * passed cross processes. * - * @return a native_handle_t if successful, < 0 on error + * @return a native_handle_t if successful, NULL on error */ native_handle_t* (*open_data_source)(struct sensors_control_device_t *dev); |