mirror of https://gitee.com/openkylin/linux.git
staging: rtl8723au: core: fixing "foo * bar" should be "foo *bar"
Fixed a coding style error, "foo * bar" should be "foo *bar" Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4ae888b64e
commit
ca439e9005
|
@ -327,15 +327,9 @@ EFUSE_Read1Byte23a(struct rtw_adapter *Adapter, u16 Address)
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
void
|
void
|
||||||
EFUSE_Write1Byte(
|
EFUSE_Write1Byte(struct rtw_adapter *Adapter, u16 Address, u8 Value);
|
||||||
struct rtw_adapter * Adapter,
|
|
||||||
u16 Address,
|
|
||||||
u8 Value);
|
|
||||||
void
|
void
|
||||||
EFUSE_Write1Byte(
|
EFUSE_Write1Byte(struct rtw_adapter *Adapter, u16 Address, u8 Value)
|
||||||
struct rtw_adapter * Adapter,
|
|
||||||
u16 Address,
|
|
||||||
u8 Value)
|
|
||||||
{
|
{
|
||||||
u8 Bytetemp = {0x00};
|
u8 Bytetemp = {0x00};
|
||||||
u8 temp = {0x00};
|
u8 temp = {0x00};
|
||||||
|
@ -635,10 +629,7 @@ Efuse_ReadAllMap(struct rtw_adapter *pAdapter, u8 efuseType, u8 *Efuse)
|
||||||
*
|
*
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
efuse_ShadowRead1Byte(
|
efuse_ShadowRead1Byte(struct rtw_adapter *pAdapter, u16 Offset, u8 *Value)
|
||||||
struct rtw_adapter * pAdapter,
|
|
||||||
u16 Offset,
|
|
||||||
u8 *Value)
|
|
||||||
{
|
{
|
||||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||||
|
|
||||||
|
@ -647,10 +638,7 @@ efuse_ShadowRead1Byte(
|
||||||
|
|
||||||
/* Read Two Bytes */
|
/* Read Two Bytes */
|
||||||
static void
|
static void
|
||||||
efuse_ShadowRead2Byte(
|
efuse_ShadowRead2Byte(struct rtw_adapter *pAdapter, u16 Offset, u16 *Value)
|
||||||
struct rtw_adapter * pAdapter,
|
|
||||||
u16 Offset,
|
|
||||||
u16 *Value)
|
|
||||||
{
|
{
|
||||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||||
|
|
||||||
|
@ -660,10 +648,7 @@ efuse_ShadowRead2Byte(
|
||||||
|
|
||||||
/* Read Four Bytes */
|
/* Read Four Bytes */
|
||||||
static void
|
static void
|
||||||
efuse_ShadowRead4Byte(
|
efuse_ShadowRead4Byte(struct rtw_adapter *pAdapter, u16 Offset, u32 *Value)
|
||||||
struct rtw_adapter * pAdapter,
|
|
||||||
u16 Offset,
|
|
||||||
u32 *Value)
|
|
||||||
{
|
{
|
||||||
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter);
|
||||||
|
|
||||||
|
@ -722,11 +707,8 @@ void EFUSE_ShadowMapUpdate23a(struct rtw_adapter *pAdapter, u8 efuseType)
|
||||||
*
|
*
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
EFUSE_ShadowRead23a(
|
EFUSE_ShadowRead23a(struct rtw_adapter *pAdapter,
|
||||||
struct rtw_adapter * pAdapter,
|
u8 Type, u16 Offset, u32 *Value)
|
||||||
u8 Type,
|
|
||||||
u16 Offset,
|
|
||||||
u32 *Value)
|
|
||||||
{
|
{
|
||||||
if (Type == 1)
|
if (Type == 1)
|
||||||
efuse_ShadowRead1Byte(pAdapter, Offset, (u8 *)Value);
|
efuse_ShadowRead1Byte(pAdapter, Offset, (u8 *)Value);
|
||||||
|
|
Loading…
Reference in New Issue