From: H Hartley Sweeten Date: Mon, 9 Dec 2013 22:31:13 +0000 (-0700) Subject: staging: comedi: pcmmio: use pcmmio_dio_{read, write}() in interrupt_pcmmio() X-Git-Tag: v3.14-rc1~150^2~305 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eacc792d2c6441570d90dec274a5379f562cd40b;p=pandora-kernel.git staging: comedi: pcmmio: use pcmmio_dio_{read, write}() in interrupt_pcmmio() Use the helper functions to read/write the PCMMIO_PAGE_INT_ID registers. This allows removing the need to lock/unlock the spinlock 'pagelock' and removes the need for the for () loop that did the read/write of the 3 paged registers. Also, remove the need for the 'got1' local variable by just returning 'IRQ_NONE' if there are not interrupts pending. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed