Commit 0d79f59d authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

staging: dgnc: rename dgnc_finalize_board_init() to dgnc_request_irq()

The dgnc_finalize_board_init() function has only job for
requesting the IRQ. It should be renamed to dgnc_request_irq()
Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eea5fd11
...@@ -37,7 +37,7 @@ MODULE_SUPPORTED_DEVICE("dgnc"); ...@@ -37,7 +37,7 @@ MODULE_SUPPORTED_DEVICE("dgnc");
* *
*/ */
static int dgnc_start(void); static int dgnc_start(void);
static int dgnc_finalize_board_init(struct dgnc_board *brd); static int dgnc_request_irq(struct dgnc_board *brd);
static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id); static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id);
static void dgnc_cleanup_board(struct dgnc_board *brd); static void dgnc_cleanup_board(struct dgnc_board *brd);
static void dgnc_poll_handler(ulong dummy); static void dgnc_poll_handler(ulong dummy);
...@@ -296,7 +296,7 @@ static int dgnc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -296,7 +296,7 @@ static int dgnc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
goto failed; goto failed;
} }
rc = dgnc_finalize_board_init(brd); rc = dgnc_request_irq(brd);
if (rc < 0) { if (rc < 0) {
pr_err(DRVSTR ": Can't finalize board init (%d)\n", rc); pr_err(DRVSTR ": Can't finalize board init (%d)\n", rc);
goto unregister_tty; goto unregister_tty;
...@@ -558,7 +558,7 @@ static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id) ...@@ -558,7 +558,7 @@ static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id)
return ERR_PTR(rc); return ERR_PTR(rc);
} }
static int dgnc_finalize_board_init(struct dgnc_board *brd) static int dgnc_request_irq(struct dgnc_board *brd)
{ {
int rc = 0; int rc = 0;
......
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