summaryrefslogtreecommitdiff
path: root/drivers/staging/ath6kl
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-29 17:56:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-04 22:58:17 -0700
commit437c567b1a02bdd50a9d0ce57c1310b827eb0ae4 (patch)
treee91e999c07db72f55fba7e6d6d4567229312aa2e /drivers/staging/ath6kl
parent0174d3c26448a132d01e6741fb80749dc81180b7 (diff)
ath6kl: rename the pm ops to something more sensible
This has no functional changes. Cc: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl')
-rw-r--r--drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
index 359261ba3de1..314c5525dbc2 100644
--- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
+++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
@@ -164,14 +164,14 @@ static void ath6kl_hifdev_remove(struct sdio_func *func)
}
#if defined(CONFIG_PM)
-static int hifDeviceSuspend(struct device *dev)
+static int ath6kl_hifdev_suspend(struct device *dev)
{
struct sdio_func *func = dev_to_sdio_func(dev);
int status = 0;
struct hif_device *device;
device = ath6kl_get_hifdev(func);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +hifDeviceSuspend\n"));
+ AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_suspend\n"));
if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) {
@@ -184,7 +184,7 @@ static int hifDeviceSuspend(struct device *dev)
}
CleanupHIFScatterResources(device);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceSuspend\n"));
+ AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_suspend\n"));
switch (status) {
case 0:
@@ -197,14 +197,14 @@ static int hifDeviceSuspend(struct device *dev)
}
}
-static int hifDeviceResume(struct device *dev)
+static int ath6kl_hifdev_resume(struct device *dev)
{
struct sdio_func *func = dev_to_sdio_func(dev);
int status = 0;
struct hif_device *device;
device = ath6kl_get_hifdev(func);
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +hifDeviceResume\n"));
+ AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: +ath6kl_hifdev_resume\n"));
if (device && device->claimedContext &&
osdrvCallbacks.deviceSuspendHandler) {
status = osdrvCallbacks.
@@ -212,14 +212,14 @@ static int hifDeviceResume(struct device *dev)
if (status == 0)
device->is_suspend = false;
}
- AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -hifDeviceResume\n"));
+ AR_DEBUG_PRINTF(ATH_DEBUG_TRACE, ("AR6000: -ath6kl_hifdev_resume\n"));
return status;
}
-static const struct dev_pm_ops ar6k_device_pm_ops = {
- .suspend = hifDeviceSuspend,
- .resume = hifDeviceResume,
+static const struct dev_pm_ops ath6kl_hifdev_pmops = {
+ .suspend = ath6kl_hifdev_suspend,
+ .resume = ath6kl_hifdev_resume,
};
#endif /* CONFIG_PM */
@@ -230,7 +230,7 @@ static struct sdio_driver ath6kl_hifdev_driver = {
.remove = ath6kl_hifdev_remove,
#if defined(CONFIG_PM)
.drv = {
- .pm = &ar6k_device_pm_ops,
+ .pm = &ath6kl_hifdev_pmops,
},
#endif
};