From: Daeseok Youn Date: Fri, 13 Jun 2014 09:22:05 +0000 (+0900) Subject: staging: dgap: rename dgap_after_config_loaded() to dgap_alloc_flipbuf() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f7fa94b68a337e7047544c13b1e0a1bfa061644;p=openwrt%2Fstaging%2Fblogic.git staging: dgap: rename dgap_after_config_loaded() to dgap_alloc_flipbuf() dgap_after_config_loaded() as function name doesn't tell what it does. Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index 497e6f375c05..721404f1feaf 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -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...