summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurabh Bipin Chandra2013-09-13 01:26:54 -0500
committerSaurabh Bipin Chandra2013-09-13 07:21:09 -0500
commita896c077f1079c02acc2b4becf564cb209f46538 (patch)
tree1aaff638fde7cd05d21fa12845f9102f4d0da47e /libdce_linux.c
parente0bba2c15bbce4921132e9774137068232619e40 (diff)
downloadhardware-ti-libdce-a896c077f1079c02acc2b4becf564cb209f46538.tar.gz
hardware-ti-libdce-a896c077f1079c02acc2b4becf564cb209f46538.tar.xz
hardware-ti-libdce-a896c077f1079c02acc2b4becf564cb209f46538.zip
[LIBDCE] Trace and Comments cleanup
This patch: 1. replaces printf with trace MACROS. 2. Remove unwanted comments. Change-Id: Id137603cbe947ca371550f594fc249d2f1b1410b Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com>
Diffstat (limited to 'libdce_linux.c')
-rw-r--r--libdce_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdce_linux.c b/libdce_linux.c
index 5b79e69..d7e6e8b 100644
--- a/libdce_linux.c
+++ b/libdce_linux.c
@@ -53,11 +53,11 @@ void *dce_init(void)
53{ 53{
54 dce_error_status eError = DCE_EOK; 54 dce_error_status eError = DCE_EOK;
55 55
56 printf(" >> dce_init\n"); 56 DEBUG(" >> dce_init");
57 57
58 /* Open omapdrm device */ 58 /* Open omapdrm device */
59 if( !OmapDrm_FD && OmapDrm_FD == INVALID_DRM_FD ) { 59 if( !OmapDrm_FD && OmapDrm_FD == INVALID_DRM_FD ) {
60 printf("Open omapdrm device \n"); 60 DEBUG("Open omapdrm device");
61 OmapDrm_FD = drmOpen("omapdrm", "platform:omapdrm:00"); 61 OmapDrm_FD = drmOpen("omapdrm", "platform:omapdrm:00");
62 _ASSERT(OmapDrm_FD > 0, DCE_EOMAPDRM_FAIL); 62 _ASSERT(OmapDrm_FD > 0, DCE_EOMAPDRM_FAIL);
63 } 63 }