Commit e4c4afa8 authored by Todd Poynor's avatar Todd Poynor Committed by Greg Kroah-Hartman

staging: gasket: interrupt: simplify comments for static functions

Static functions don't need kernel doc formatting, can be simplified.
Reformat comments that can be single-line.  Remove extraneous text.
Signed-off-by: default avatarTodd Poynor <toddpoynor@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 48088486
...@@ -87,13 +87,6 @@ static struct gasket_sysfs_attribute interrupt_sysfs_attrs[] = { ...@@ -87,13 +87,6 @@ static struct gasket_sysfs_attribute interrupt_sysfs_attrs[] = {
GASKET_END_OF_ATTR_ARRAY, GASKET_END_OF_ATTR_ARRAY,
}; };
/*
* Set up device registers for interrupt handling.
* @gasket_dev: The Gasket information structure for this device.
*
* Sets up the device registers with the correct indices for the relevant
* interrupts.
*/
static void gasket_interrupt_setup(struct gasket_dev *gasket_dev); static void gasket_interrupt_setup(struct gasket_dev *gasket_dev);
/* MSIX init and cleanup. */ /* MSIX init and cleanup. */
...@@ -334,13 +327,7 @@ int gasket_interrupt_reset_counts(struct gasket_dev *gasket_dev) ...@@ -334,13 +327,7 @@ int gasket_interrupt_reset_counts(struct gasket_dev *gasket_dev)
return 0; return 0;
} }
/* /* Set up device registers for interrupt handling. */
* Set up device registers for interrupt handling.
* @gasket_dev: The Gasket information structure for this device.
*
* Sets up the device registers with the correct indices for the relevant
* interrupts.
*/
static void gasket_interrupt_setup(struct gasket_dev *gasket_dev) static void gasket_interrupt_setup(struct gasket_dev *gasket_dev)
{ {
int i; int i;
...@@ -553,9 +540,6 @@ static ssize_t interrupt_sysfs_show( ...@@ -553,9 +540,6 @@ static ssize_t interrupt_sysfs_show(
return ret; return ret;
} }
/*
* MSIX interrupt handler, used with PCI driver.
*/
static irqreturn_t gasket_msix_interrupt_handler(int irq, void *dev_id) static irqreturn_t gasket_msix_interrupt_handler(int irq, void *dev_id)
{ {
struct eventfd_ctx *ctx; struct eventfd_ctx *ctx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment