drivers: Fix documentation from remaining APIs This patch fixes the remaining APIs documentation which have reference to DEV_* codes. Change-Id: I26dd971a4b5e492ce026892f6262b84f7bde6296 Signed-off-by: Andre Guedes <andre.guedes@intel.com>
diff --git a/include/i2c.h b/include/i2c.h index 7267346..d1c699c 100644 --- a/include/i2c.h +++ b/include/i2c.h
@@ -149,7 +149,7 @@ * for the I2C controller. * * @retval 0 If successful. - * @retval DEV_* code otherwise. + * @retval Negative errno code if failure. */ static inline int i2c_configure(struct device *dev, uint32_t dev_config) { @@ -170,7 +170,7 @@ * @param addr Address to the target I2C device for writing. * * @retval 0 If successful. - * @retval DEV_* code otherwise. + * @retval Negative errno code if failure. */ static inline int i2c_write(struct device *dev, uint8_t *buf, uint32_t len, uint16_t addr) @@ -197,7 +197,7 @@ * @param addr Address of the I2C device being read. * * @retval 0 If successful. - * @retval DEV_* code otherwise. + * @retval Negative errno code if failure. */ static inline int i2c_read(struct device *dev, uint8_t *buf, uint32_t len, uint16_t addr) @@ -226,7 +226,7 @@ * @param addr Address of the I2C target device. * * @retval 0 If successful. - * @retval DEV_* code otherwise. + * @retval Negative errno code if failure. */ static inline int i2c_transfer(struct device *dev, struct i2c_msg *msgs, uint8_t num_msgs,