From: Mauro Carvalho Chehab Date: Thu, 16 Jan 2014 13:43:00 +0000 (-0300) Subject: [media] drx-j: fix whitespacing on pointer parmameters X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dbe82e06138f3630027e2bc27a47c79f74693850;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] drx-j: fix whitespacing on pointer parmameters 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h index 1e906b8298fc..fddf491d4816 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h +++ b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h @@ -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 diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c index c8212069a540..c13622652bd6 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drxj.c +++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c @@ -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;