]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: dgap: rename dgap_after_config_loaded() to dgap_alloc_flipbuf()
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 13 Jun 2014 09:22:05 +0000 (18:22 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:23:32 +0000 (15:23 -0700)
dgap_after_config_loaded() as function name doesn't tell
what it does.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c

index 497e6f375c054a2bdc60eac705981fe08a88a65e..721404f1feaf8c4fab86f2026e9cc5585dd9f011 100644 (file)
@@ -188,7 +188,7 @@ static void dgap_do_fep_load(struct board_t *brd, const u8 *ufep, int len);
 #ifdef DIGI_CONCENTRATORS_SUPPORTED
 static void dgap_do_conc_load(struct board_t *brd, u8 *uaddr, int len);
 #endif
-static int dgap_after_config_loaded(struct board_t *brd);
+static int dgap_alloc_flipbuf(struct board_t *brd);
 static int dgap_request_irq(struct board_t *brd);
 static void dgap_free_irq(struct board_t *brd);
 
@@ -865,7 +865,7 @@ static int dgap_firmware_load(struct pci_dev *pdev, int card_type)
                kfree(dgap_config_buf);
        }
 
-       ret = dgap_after_config_loaded(brd);
+       ret = dgap_alloc_flipbuf(brd);
        if (ret)
                return ret;
        /*
@@ -4133,7 +4133,7 @@ static int dgap_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
        }
 }
 
-static int dgap_after_config_loaded(struct board_t *brd)
+static int dgap_alloc_flipbuf(struct board_t *brd)
 {
        /*
         * Initialize KME waitqueues...