1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

comment out unused function

This commit is contained in:
Ralph Metzler 2019-02-13 12:01:22 +01:00
parent 4e95332ced
commit f2d3efd577

View File

@ -150,10 +150,12 @@ static int write_reg(struct stv *state, u16 reg, u8 val)
return (i2c_transfer(state->base->i2c, &msg, 1) == 1) ? 0 : -1; return (i2c_transfer(state->base->i2c, &msg, 1) == 1) ? 0 : -1;
} }
#if 0
static int write_reg_off(struct stv *state, u16 reg, u8 val) static int write_reg_off(struct stv *state, u16 reg, u8 val)
{ {
return write_reg(state, reg + state->regoff, val); return write_reg(state, reg + state->regoff, val);
} }
#endif
static inline int i2c_read_regs16(struct i2c_adapter *adapter, u8 adr, static inline int i2c_read_regs16(struct i2c_adapter *adapter, u8 adr,
u16 reg, u8 *val, int len) u16 reg, u8 *val, int len)