Messages in this thread Patch in this message | | | From | H Hartley Sweeten <> | Subject | [PATCH] staging/dt3155: remove TRUE / FALSE defines | Date | Mon, 1 Mar 2010 16:26:01 -0700 |
| |
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 */
| |