diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-04-08 11:51:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:38 -0700 |
commit | dd68e1b4ff71a0c6221bd9d02a374178e7dff6f9 (patch) | |
tree | df6164442b72d98e4006d7fe3f41ed4ac6425252 /drivers/staging/winbond/wbhal.c | |
parent | 40abfccbc73d2303a68ace9939167c184dd3d065 (diff) |
Staging: w35und: merge rest of wbhal.c to phy_calibration.c
Impact: cleanup
The remaining functions are local to phy_calibration.c so move them
there and remove wbhal.c.
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/wbhal.c')
-rw-r--r-- | drivers/staging/winbond/wbhal.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/winbond/wbhal.c b/drivers/staging/winbond/wbhal.c deleted file mode 100644 index b9a6e38bd50..00000000000 --- a/drivers/staging/winbond/wbhal.c +++ /dev/null @@ -1,20 +0,0 @@ -#include "sysdef.h" -#include "wbhal_f.h" -#include "wblinux_f.h" - -unsigned char hal_get_dxx_reg(struct hw_data *pHwData, u16 number, u32 * pValue) -{ - if (number < 0x1000) - number += 0x1000; - return Wb35Reg_ReadSync(pHwData, number, pValue); -} - -unsigned char hal_set_dxx_reg(struct hw_data *pHwData, u16 number, u32 value) -{ - unsigned char ret; - - if (number < 0x1000) - number += 0x1000; - ret = Wb35Reg_WriteSync(pHwData, number, value); - return ret; -} |