OSDN Git Service

staging: gasket: interrupt: simplify interrupt init parameters
authorTodd Poynor <toddpoynor@google.com>
Fri, 10 Aug 2018 03:21:10 +0000 (20:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:43:44 +0000 (19:43 +0200)
commit8b872d6f06c20d58058afb457cc266c578c431b2
treeab95eb12e409f3ef58f3749ccbeb6d49247eaf6c
parent62af16524ced2f38b754a9a31a9b93854012d38c
staging: gasket: interrupt: simplify interrupt init parameters

Pass the gasket driver descriptor to the interrupt init function, rather
than exploding out separate parameters from various fields of that
structure.  This allows us to make more localized changes to the types
of interrupts supported (MSIX vs. wire, etc.) without affecting the
calling sequence, and seems nicer for simplification purposes.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c
drivers/staging/gasket/gasket_interrupt.c
drivers/staging/gasket/gasket_interrupt.h