From: H Hartley Sweeten Date: Mon, 17 Aug 2015 23:58:25 +0000 (-0700) Subject: staging: comedi: s526: remove unnecessary defines X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=537dd665e42794886266f50c8379b879d5d99af3;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: s526: remove unnecessary defines Remove a couple unused defines, Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/s526.c b/drivers/staging/comedi/drivers/s526.c index 7cf6250bdf30..801413d7b0c3 100644 --- a/drivers/staging/comedi/drivers/s526.c +++ b/drivers/staging/comedi/drivers/s526.c @@ -39,13 +39,9 @@ #include "../comedidev.h" #include -#define S526_START_AI_CONV 0 -#define S526_AI_READ 0 - -/* Ports */ -#define S526_NUM_PORTS 27 - -/* registers */ +/* + * Register I/O map + */ #define S526_TIMER_REG 0x00 #define S526_TIMER_LOAD(x) (((x) & 0xff) << 8) #define S526_TIMER_MODE ((x) << 1)