[media] cx24120: fix strict checkpatch-errors
This patches fixes all checkpatch-errors. Even the ones created --strict. Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
此提交包含在:

提交者
Mauro Carvalho Chehab

父節點
2e89a5e085
當前提交
1ff2e8ed28
@@ -43,13 +43,12 @@ struct cx24120_config {
|
||||
};
|
||||
|
||||
#if IS_REACHABLE(CONFIG_DVB_CX24120)
|
||||
extern struct dvb_frontend *cx24120_attach(
|
||||
const struct cx24120_config *config,
|
||||
struct i2c_adapter *i2c);
|
||||
struct dvb_frontend *cx24120_attach(const struct cx24120_config *config,
|
||||
struct i2c_adapter *i2c);
|
||||
#else
|
||||
static inline struct dvb_frontend *cx24120_attach(
|
||||
const struct cx24120_config *config,
|
||||
struct i2c_adapter *i2c)
|
||||
static inline
|
||||
struct dvb_frontend *cx24120_attach(const struct cx24120_config *config,
|
||||
struct i2c_adapter *i2c)
|
||||
{
|
||||
pr_warn("%s: driver disabled by Kconfig\n", __func__);
|
||||
return NULL;
|
||||
|
新增問題並參考
封鎖使用者