From: Antti Palosaari Date: Fri, 26 Jul 2013 09:57:51 +0000 (-0300) Subject: [media] e4000: change remaining pr_warn to dev_warn X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00db719264ba937157c1dffd83cf25f9fbcc708a;p=openwrt%2Fstaging%2Fblogic.git [media] e4000: change remaining pr_warn to dev_warn Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/tuners/e4000.h b/drivers/media/tuners/e4000.h index 3783a0bdf855..25ee7c07abff 100644 --- a/drivers/media/tuners/e4000.h +++ b/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, 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; } #endif