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

@ -162,7 +162,7 @@ void glcd_color_set(struct device *port, uint8_t r, uint8_t g, uint8_t b);
*
* @param port Pointer to device structure for driver instance.
*
* @return Returns DEV_OK if all passes
* @return Returns 0 if all passes
*/
int glcd_initialize(struct device *port);