* [PATCH] staging/dt3155: remove TRUE / FALSE defines
@ 2010-03-01 23:26 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2010-03-01 23:26 UTC (permalink / raw)
To: Linux Kernel; +Cc: greg, ss
The TRUE / FALSE defines are only used in the dt3155.h header to
establish the bit setting needed to set 50/60Hz operation.
Remove the defines and just use 1 / 0 as appropriate.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Greg Kroah-Hartman <greg@kroah.com>
Cc: Scott Smedley <ss@aao.gov.au>
---
diff --git a/drivers/staging/dt3155/dt3155.h b/drivers/staging/dt3155/dt3155.h
index 1bf7863..33329a5 100644
--- a/drivers/staging/dt3155/dt3155.h
+++ b/drivers/staging/dt3155/dt3155.h
@@ -45,9 +45,6 @@ MA 02111-1307 USA
#endif
-#define TRUE 1
-#define FALSE 0
-
/* Uncomment this for 50Hz CCIR */
#define CCIR 1
@@ -62,11 +59,11 @@ MA 02111-1307 USA
#ifdef CCIR
#define DT3155_MAX_ROWS 576
#define DT3155_MAX_COLS 768
-#define FORMAT50HZ TRUE
+#define FORMAT50HZ 1
#else
#define DT3155_MAX_ROWS 480
#define DT3155_MAX_COLS 640
-#define FORMAT50HZ FALSE
+#define FORMAT50HZ 0
#endif
/* Configuration structure */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-01 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-01 23:26 [PATCH] staging/dt3155: remove TRUE / FALSE defines H Hartley Sweeten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).