staging: rtl8192e: Rename rtl8192_pci_findadapter

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_findadapter to rtl92e_check_adapter.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mateusz Kulikowski 2015-07-19 19:28:40 +02:00 committed by Greg Kroah-Hartman
parent 68cb7b7a59
commit e250592ed9
3 changed files with 3 additions and 3 deletions

View File

@ -2670,7 +2670,7 @@ static int rtl8192_pci_probe(struct pci_dev *pdev,
priv->ops = ops;
if (rtl8192_pci_findadapter(pdev, dev) == false)
if (rtl92e_check_adapter(pdev, dev) == false)
goto err_rel_mem;
dev->irq = pdev->irq;

View File

@ -45,7 +45,7 @@ static void rtl8192_parse_pci_configuration(struct pci_dev *pdev,
pci_write_config_byte(pdev, 0x70f, tmp);
}
bool rtl8192_pci_findadapter(struct pci_dev *pdev, struct net_device *dev)
bool rtl92e_check_adapter(struct pci_dev *pdev, struct net_device *dev)
{
struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
u16 VenderID;

View File

@ -29,6 +29,6 @@
#include <linux/pci.h>
struct net_device;
bool rtl8192_pci_findadapter(struct pci_dev *pdev, struct net_device *dev);
bool rtl92e_check_adapter(struct pci_dev *pdev, struct net_device *dev);
#endif