On 20/04/16 18:36, H Hartley Sweeten wrote:
Introduce a helper function to handle the ack of a LINKC interrupt.
Tidy up the drivers that use the new helper.

The extra check for CHSR_INT in the ni_pcidio driver is not necessary.
This bit will be set if any of the interrupt sources, including CHSR_LINKC,
have generated an interrupt. Remove the extra check.

The mite_get_status() function is now only used by the mite driver.
Make it static and remove the export.

Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
  drivers/staging/comedi/drivers/mite.c          | 17 ++++++++++++++--
  drivers/staging/comedi/drivers/mite.h          |  2 +-
  drivers/staging/comedi/drivers/ni_mio_common.c | 28 +++++---------------------
  drivers/staging/comedi/drivers/ni_pcidio.c     | 10 ++-------
  drivers/staging/comedi/drivers/ni_tiocmd.c     | 13 +++---------
  5 files changed, 26 insertions(+), 44 deletions(-)

Thanks!

Reviewed-by: Ian Abbott <abbo...@mev.co.uk>

(The other patches already have my "Reviewed-by".)
--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbo...@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to