STAGING: cxt1e1: Formatting fixes checkpatch issues
authorMichael Welling <mwelling@ieee.org>
Sun, 23 Mar 2014 16:17:29 +0000 (11:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 22:58:31 +0000 (15:58 -0700)
Removes spaces before & where needed.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/pmc93x6_eeprom.c

index ab6fa73363ac80a0f02405267409f5f11e3bf278..d7d240a1747b652d6a36e1dbfbfde3de668358ce 100644 (file)
@@ -425,9 +425,9 @@ static u_int32_t pmcCalcCrc_T01(void *bufp)
        u_int32_t crc;
 
        /* Calc CRC for type and length fields */
-       sbeCrc((u_int8_t *) & buf->type,
+       sbeCrc((u_int8_t *) &buf->type,
               (u_int32_t) STRUCT_OFFSET(FLD_TYPE1, Crc32),
-              (u_int32_t) 0, (u_int32_t *) & crc);
+              (u_int32_t) 0, (u_int32_t *) &crc);
 
 #ifdef EEPROM_TYPE_DEBUG
        /* RLD DEBUG */
@@ -443,14 +443,14 @@ static u_int32_t pmcCalcCrc_T02(void *bufp)
        u_int32_t crc;
 
        /* Calc CRC for type and length fields */
-       sbeCrc((u_int8_t *) & buf->type,
+       sbeCrc((u_int8_t *) &buf->type,
               (u_int32_t) STRUCT_OFFSET(FLD_TYPE2, Crc32),
-              (u_int32_t) 0, (u_int32_t *) & crc);
+              (u_int32_t) 0, (u_int32_t *) &crc);
 
        /* Calc CRC for remaining fields */
-       sbeCrc((u_int8_t *) & buf->Id[0],
+       sbeCrc((u_int8_t *) &buf->Id[0],
               (u_int32_t) (sizeof(FLD_TYPE2) - STRUCT_OFFSET(FLD_TYPE2, Id)),
-              (u_int32_t) crc, (u_int32_t *) & crc);
+              (u_int32_t) crc, (u_int32_t *) &crc);
 
 #ifdef EEPROM_TYPE_DEBUG
        /* RLD DEBUG */