From: H Hartley Sweeten Date: Tue, 23 Apr 2013 19:57:17 +0000 (-0700) Subject: staging: comedi: ni_labpc: remove 'device_id' from boardinfo X-Git-Tag: MMI-PSA29.97-13-9~14152^2~771 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9548b735df211550f390d9dcecf9ea0bfc8a585e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: comedi: ni_labpc: remove 'device_id' from boardinfo This information in the boardinfo is not used. Remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_labpc.h b/drivers/staging/comedi/drivers/ni_labpc.h index 615f16f271c0..b0327c53603b 100644 --- a/drivers/staging/comedi/drivers/ni_labpc.h +++ b/drivers/staging/comedi/drivers/ni_labpc.h @@ -34,7 +34,6 @@ enum transfer_type { fifo_not_empty_transfer, fifo_half_full_transfer, struct labpc_boardinfo { const char *name; - int device_id; /* device id for pci and pcmcia boards */ int ai_speed; /* maximum input speed in nanoseconds */ /* 1200 has extra registers compared to pc+ */ diff --git a/drivers/staging/comedi/drivers/ni_labpc_cs.c b/drivers/staging/comedi/drivers/ni_labpc_cs.c index 9e3737c6918d..5f8de1142099 100644 --- a/drivers/staging/comedi/drivers/ni_labpc_cs.c +++ b/drivers/staging/comedi/drivers/ni_labpc_cs.c @@ -76,7 +76,6 @@ NI manuals: static const struct labpc_boardinfo labpc_cs_boards[] = { { .name = "daqcard-1200", - .device_id = 0x103, .ai_speed = 10000, .register_layout = labpc_1200_layout, .has_ao = 1,