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

@ -339,7 +339,7 @@ int glcd_initialize(struct device *port)
_rgb_reg_set(dev->i2c, REGISTER_G, color_define[GROVE_RGB_WHITE][1]);
_rgb_reg_set(dev->i2c, REGISTER_B, color_define[GROVE_RGB_WHITE][2]);
return DEV_OK;
return 0;
}
struct glcd_driver grove_lcd_config = {