OSDN Git Service

staging: comedi: amplc_dio200_common: remove 'which' from struct dio200_subdev_8254
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 23 Feb 2015 21:57:58 +0000 (14:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 02:51:52 +0000 (18:51 -0800)
commitfdb7c3ece29fc4d73e5994af6a58b4e3d55d105c
treec223c6f39b305e3ccdde604a81601ce59025b301
parent5814504f4d202974694d2cf37683a0138b99a6a0
staging: comedi: amplc_dio200_common: remove 'which' from struct dio200_subdev_8254

This member is only used in the "set gate" and "set clock" helper functions. Remove
it and calculate the value when needed.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200_common.c