summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorjy910.yun <jy910.yun@samsung.com>2014-11-05 21:42:00 +0900
committerjy910.yun <jy910.yun@samsung.com>2014-11-06 21:55:21 +0900
commitdab55ee02cbae6318ff69494a4977adae8c6d245 (patch)
treec13e5a8593663e0394eeba6aa0e529a371b24096 /devices
parent25f730f660c4193863d2c7c3304e6b4ada048c36 (diff)
downloadlibdevice-node-dab55ee02cbae6318ff69494a4977adae8c6d245.tar.gz
libdevice-node-dab55ee02cbae6318ff69494a4977adae8c6d245.tar.bz2
libdevice-node-dab55ee02cbae6318ff69494a4977adae8c6d245.zip
device-node: Rename the logging macros
Change DEVERR/DEVLOG macros to _E/_D macros Signed-off-by: jy910.yun <jy910.yun@samsung.com> Change-Id: Idd4593e6b271addfb2f0ee8a091223b0267161cf
Diffstat (limited to 'devices')
-rw-r--r--devices/display.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/devices/display.c b/devices/display.c
index 0be1cbe..2900699 100644
--- a/devices/display.c
+++ b/devices/display.c
@@ -36,13 +36,13 @@ static int display_get_prop(int __prop, int *val)
r = PLUGIN_GET(display_count)(&disp_cnt);
if (r < 0) {
- DEVERR("Get display count failed");
+ _E("Get display count failed");
return -1;
}
if (prop != PROP_DISPLAY_BRIGHTNESS_BY_LUX) {
if (index >= disp_cnt) {
- DEVERR("Invalid Argument: index(%d) > max(%d)", index, disp_cnt);
+ _E("Invalid Argument: index(%d) > max(%d)", index, disp_cnt);
return -1;
}
}
@@ -91,12 +91,12 @@ static int display_set_prop(int __prop, int val)
r = PLUGIN_GET(display_count)(&disp_cnt);
if (r < 0) {
- DEVERR("Get display count failed");
+ _E("Get display count failed");
return -1;
}
if (index >= disp_cnt) {
- DEVERR("Invalid Argument: index(%d) > max(%d)", index, disp_cnt);
+ _E("Invalid Argument: index(%d) > max(%d)", index, disp_cnt);
return -1;
}