drivers: Replace DEV_OK by 0

This patch replaces all occurences of the macro DEV_OK by the actual
value 0 at the driver level. So this patch touch the files under
drivers/, include/ and samples/drivers/.

This patch is part of the effort to transition from DEV_* codes to
errno.h codes.

Change-Id: I69980ecb9755f2fb026de5668ae9c21a4ae62d1e
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
This commit is contained in:
Andre Guedes 2016-03-09 14:01:20 -03:00 committed by Anas Nashif
commit 024cfe754e
71 changed files with 302 additions and 302 deletions

View file

@ -137,7 +137,7 @@ static inline void adc_disable(struct device *dev)
* @param dev Pointer to the device structure for the driver instance.
* @param seq_table Pointer to the structure representing the sequence table.
*
* @retval DEV_OK On success
* @retval 0 On success
* @retval else Otherwise.
*/
static inline int adc_read(struct device *dev, struct adc_seq_table *seq_table)