]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[media] drx-j: fix whitespacing on pointer parmameters
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 16 Jan 2014 13:43:00 +0000 (10:43 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:23:17 +0000 (14:23 -0300)
Patch generated with this script:

for i in drivers/media/dvb-frontends/drx39xyj/*.[ch]; do perl -ne 's,(enum|struct|void|int|u32|u64|u16|u8|s8|s16|s32|s64)\s+(\S+)\s+\*[ ]+,\1 \2 *,g; print $_' <$i >a && mv a $i; done

Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drx39xyj/drx_driver.h
drivers/media/dvb-frontends/drx39xyj/drxj.c

index 1e906b8298fc53a938d4e90d9f7ad84cbe7f7aa9..fddf491d48166f9a44b247b638bbd53b87498c2e 100644 (file)
@@ -237,9 +237,9 @@ struct tuner_ops {
 
 struct tuner_instance {
        struct i2c_device_addr myI2CDevAddr;
-       struct tuner_common * myCommonAttr;
+       struct tuner_common *myCommonAttr;
        void *myExtAttr;
-       struct tuner_ops * myFunct;
+       struct tuner_ops *myFunct;
 };
 
 
@@ -257,7 +257,7 @@ int DRXBSP_TUNER_GetFrequency(struct tuner_instance *tuner,
                                        s32 * IFfrequency);
 
 int DRXBSP_TUNER_LockStatus(struct tuner_instance *tuner,
-                                       enum tuner_lock_status * lockStat);
+                                       enum tuner_lock_status *lockStat);
 
 int DRXBSP_TUNER_DefaultI2CWriteRead(struct tuner_instance *tuner,
                                                struct i2c_device_addr *wDevAddr,
@@ -1223,7 +1223,7 @@ STRUCTS
        typedef struct {
                u32 *symbolrate;          /**<  list of symbolrates to scan   */
                u16 symbolrateSize;       /**<  size of symbolrate array      */
-               enum drx_modulation * constellation;
+               enum drx_modulation *constellation;
                                          /**<  list of constellations        */
                u16 constellationSize;    /**<  size of constellation array */
                u16 ifAgcThreshold;       /**<  thresholf for IF-AGC based
index c8212069a540f73bd5f85c9939529d4070a644b2..c13622652bd6186d93fabe8e6428eac4616822d5 100644 (file)
@@ -6101,7 +6101,7 @@ rw_error:
 }
 
 /**
-* \fn static short GetVSBPostRSPckErr(struct i2c_device_addr * devAddr, u16 *PckErrs)
+* \fn static short GetVSBPostRSPckErr(struct i2c_device_addr *devAddr, u16 *PckErrs)
 * \brief Get the values of packet error in 8VSB mode
 * \return Error code
 */
@@ -6132,7 +6132,7 @@ rw_error:
 }
 
 /**
-* \fn static short GetVSBBer(struct i2c_device_addr * devAddr, u32 *ber)
+* \fn static short GetVSBBer(struct i2c_device_addr *devAddr, u32 *ber)
 * \brief Get the values of ber in VSB mode
 * \return Error code
 */
@@ -6170,7 +6170,7 @@ rw_error:
 }
 
 /**
-* \fn static short GetVSBpreViterbiBer(struct i2c_device_addr * devAddr, u32 *ber)
+* \fn static short GetVSBpreViterbiBer(struct i2c_device_addr *devAddr, u32 *ber)
 * \brief Get the values of ber in VSB mode
 * \return Error code
 */
@@ -6189,7 +6189,7 @@ rw_error:
 }
 
 /**
-* \fn static short GetVSBSymbErr(struct i2c_device_addr * devAddr, u32 *ber)
+* \fn static short GetVSBSymbErr(struct i2c_device_addr *devAddr, u32 *ber)
 * \brief Get the values of ber in VSB mode
 * \return Error code
 */
@@ -7834,7 +7834,7 @@ rw_error:
 /*============================================================================*/
 
 /**
-* \fn static short GetQAMRSErrCount(struct i2c_device_addr * devAddr)
+* \fn static short GetQAMRSErrCount(struct i2c_device_addr *devAddr)
 * \brief Get RS error count in QAM mode (used for post RS BER calculation)
 * \return Error code
 *
@@ -8841,7 +8841,7 @@ rw_error:
 #ifndef DRXJ_DIGITAL_ONLY
 #define SCU_RAM_ATV_ENABLE_IIR_WA__A 0x831F6D  /* TODO remove after done with reg import */
 static int
-SetATVStandard(pDRXDemodInstance_t demod, enum drx_standard * standard)
+SetATVStandard(pDRXDemodInstance_t demod, enum drx_standard *standard)
 {
 /* TODO: enable alternative for tap settings via external file
 
@@ -13817,7 +13817,7 @@ rw_error:
 *
 */
 static int
-CtrlSetStandard(pDRXDemodInstance_t demod, enum drx_standard * standard)
+CtrlSetStandard(pDRXDemodInstance_t demod, enum drx_standard *standard)
 {
        pDRXJData_t extAttr = NULL;
        enum drx_standard prevStandard;
@@ -13917,7 +13917,7 @@ rw_error:
 *
 */
 static int
-CtrlGetStandard(pDRXDemodInstance_t demod, enum drx_standard * standard)
+CtrlGetStandard(pDRXDemodInstance_t demod, enum drx_standard *standard)
 {
        pDRXJData_t extAttr = NULL;
        extAttr = (pDRXJData_t) demod->myExtAttr;