浏览代码

[media] e4000: change remaining pr_warn to dev_warn

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Antti Palosaari 12 年之前
父节点
当前提交
00db719264
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/tuners/e4000.h

+ 1 - 1
drivers/media/tuners/e4000.h

@@ -44,7 +44,7 @@ extern struct dvb_frontend *e4000_attach(struct dvb_frontend *fe,
 static inline struct dvb_frontend *e4000_attach(struct dvb_frontend *fe,
 static inline struct dvb_frontend *e4000_attach(struct dvb_frontend *fe,
 		struct i2c_adapter *i2c, const struct e4000_config *cfg)
 		struct i2c_adapter *i2c, const struct e4000_config *cfg)
 {
 {
-	pr_warn("%s: driver disabled by Kconfig\n", __func__);
+	dev_warn(&i2c->dev, "%s: driver disabled by Kconfig\n", __func__);
 	return NULL;
 	return NULL;
 }
 }
 #endif
 #endif