android_vibrator: clean up codes and handle errors
Change-Id: I86e8d7a77a1f0a2b03bcb1b434fb68cb1d7b6e1a
diff --git a/include/linux/android_vibrator.h b/include/linux/android_vibrator.h
index bfd886c..acaae1b 100644
--- a/include/linux/android_vibrator.h
+++ b/include/linux/android_vibrator.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 LGE, Inc.
+ * Copyright (C) 2011, 2012 LGE, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -25,36 +25,5 @@
int (*vibrator_init)(void);
};
-
-/* Debug Mask setting */
-#define VIBRATOR_DEBUG_PRINT (1)
-#define VIBRATOR_ERROR_PRINT (1)
-#define VIBRATOR_INFO_PRINT (0)
-
-#if (VIBRATOR_INFO_PRINT)
-#define INFO_MSG(fmt, args...) \
- printk(KERN_INFO "[%s] " \
- fmt, __FUNCTION__, ##args);
-#else
-#define INFO_MSG(fmt, args...)
-#endif
-
-#if (VIBRATOR_DEBUG_PRINT)
-#define DEBUG_MSG(fmt, args...) \
- printk(KERN_INFO "[%s %d] " \
- fmt, __FUNCTION__, __LINE__, ##args);
-#else
-#define DEBUG_MSG(fmt, args...)
-#endif
-
-#if (VIBRATOR_ERROR_PRINT)
-#define ERR_MSG(fmt, args...) \
- printk(KERN_ERR "[%s %d] " \
- fmt, __FUNCTION__, __LINE__, ##args);
-#else
-#define ERR_MSG(fmt, args...)
-#endif
-
-
#endif