aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/hif
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-02-02 17:05:56 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-02 17:34:51 -0500
commita1d46529630cbe1072b7b7b1a0104655b47cd7de (patch)
tree202f8beb893a2e35524d221b10e19f7489057e54 /drivers/staging/ath6kl/hif
parentf68057e6fab6943ea2c5867d8b72e4b08bef5f6e (diff)
staging: ath6kl: Convert (status != A_OK) to (status)
Just use the status variable as a test not a comparison. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/hif')
-rw-r--r--drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c2
1 files changed, 1 insertions, 1 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 57cb1f70dcf..773d134192d 100644
--- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
+++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
@@ -1088,7 +1088,7 @@ static int hifDeviceSuspend(struct device *dev)
1088 if (device && device->claimedContext && osdrvCallbacks.deviceSuspendHandler) { 1088 if (device && device->claimedContext && osdrvCallbacks.deviceSuspendHandler) {
1089 device->is_suspend = true; /* set true first for PowerStateChangeNotify(..) */ 1089 device->is_suspend = true; /* set true first for PowerStateChangeNotify(..) */
1090 status = osdrvCallbacks.deviceSuspendHandler(device->claimedContext); 1090 status = osdrvCallbacks.deviceSuspendHandler(device->claimedContext);
1091 if (status != A_OK) { 1091 if (status) {
1092 device->is_suspend = false; 1092 device->is_suspend = false;
1093 } 1093 }
1094 } 1094 }