[media] e4000: change remaining pr_warn to dev_warn
authorAntti Palosaari <crope@iki.fi>
Fri, 26 Jul 2013 09:57:51 +0000 (06:57 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 18 Aug 2013 10:52:53 +0000 (07:52 -0300)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/e4000.h

index 3783a0bdf855d23dab30f04f70d4eece34fe6247..25ee7c07abff96132a275eeece0255d5c21f5c39 100644 (file)
@@ -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