[media] drx-j: Use checkpatch --fix to solve several issues
Instead of manually fixing the issues, use the --fix experimental checkpatch. That solves a bunch of checkpatch issues. Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
dbe82e0613
commit
7ef66759a3
|
@ -37,4 +37,4 @@ struct drx39xxj_state {
|
|||
|
||||
extern struct dvb_frontend *drx39xxj_attach(struct i2c_adapter *i2c);
|
||||
|
||||
#endif // DVB_DUMMY_FE_H
|
||||
#endif /* DVB_DUMMY_FE_H */
|
||||
|
|
|
@ -170,7 +170,7 @@ INCLUDE FILES
|
|||
|
||||
#include "drx_driver_version.h"
|
||||
|
||||
//#define DRX_DEBUG
|
||||
/* #define DRX_DEBUG */
|
||||
#ifdef DRX_DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
@ -3908,7 +3908,7 @@ CtrlSetCfgSmartAnt(pDRXDemodInstance_t demod, pDRXJCfgSmartAnt_t smartAnt)
|
|||
struct i2c_device_addr *devAddr = NULL;
|
||||
u16 data = 0;
|
||||
u32 startTime = 0;
|
||||
static bool bitInverted = false;
|
||||
static bool bitInverted;
|
||||
|
||||
devAddr = demod->myI2CDevAddr;
|
||||
extAttr = (pDRXJData_t) demod->myExtAttr;
|
||||
|
@ -4926,8 +4926,8 @@ rw_error:
|
|||
#ifdef DRXJ_SIGNAL_ACCUM_ERR
|
||||
static int GetAccPktErr(pDRXDemodInstance_t demod, u16 *packetErr)
|
||||
{
|
||||
static u16 pktErr = 0;
|
||||
static u16 lastPktErr = 0;
|
||||
static u16 pktErr;
|
||||
static u16 lastPktErr;
|
||||
u16 data = 0;
|
||||
pDRXJData_t extAttr = NULL;
|
||||
struct i2c_device_addr *devAddr = NULL;
|
||||
|
|
Loading…
Reference in New Issue