am 8d567480: Update open_data_source documentation to accurately reflect the correct return value on error.

Merge commit '8d567480b45a801a1955e4743c5eeae431d58f56'

* commit '8d567480b45a801a1955e4743c5eeae431d58f56':
  Update open_data_source documentation to accurately reflect the correct return value on error.
This commit is contained in:
Bill Napier 2009-06-03 13:00:03 -07:00 committed by The Android Open Source Project
commit 5afaa8accc

View file

@ -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);