summaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/phy_calibration.c
diff options
context:
space:
mode:
authorHarsh Kumar <harsh1kumar@gmail.com>2013-05-30 08:35:02 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-30 15:59:47 +0400
commitb5153e973f4688df69ae4e8614d054609a40ad4e (patch)
tree944008894fe4a05bbcbfecbc6912176eca72e2cd /drivers/staging/winbond/phy_calibration.c
parent6e8661ed303f2f212436bfbee65f474077df55f6 (diff)
downloadlinux-b5153e973f4688df69ae4e8614d054609a40ad4e.tar.xz
Staging: winbond: usb_free_urb(NULL) is safe
usb_free_urb(NULL) is safe. So, the check was removed. Also, couple of checkpatch.pl fixes Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/winbond/phy_calibration.c')
-rw-r--r--drivers/staging/winbond/phy_calibration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/winbond/phy_calibration.c b/drivers/staging/winbond/phy_calibration.c
index cabae3466704..cfbfbbb53866 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -296,7 +296,7 @@ void _sin_cos(s32 angle, s32 *sin, s32 *cos)
}
}
-static unsigned char hal_get_dxx_reg(struct hw_data *pHwData, u16 number, u32 * pValue)
+static unsigned char hal_get_dxx_reg(struct hw_data *pHwData, u16 number, u32 *pValue)
{
if (number < 0x1000)
number += 0x1000;