mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
media: dvb_dummy_fe: change printk to pr_warn
Replaces printk with pr_err to fix warnings from checkpatch.pl Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
60c2b6060b
commit
02a5830f8d
@ -18,17 +18,17 @@ struct dvb_frontend *dvb_dummy_fe_qam_attach(void);
|
|||||||
#else
|
#else
|
||||||
static inline struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void)
|
static inline struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void)
|
||||||
{
|
{
|
||||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
pr_warn("%s: driver disabled by Kconfig\n", __func__);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
static inline struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void)
|
static inline struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void)
|
||||||
{
|
{
|
||||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
pr_warn("%s: driver disabled by Kconfig\n", __func__);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
static inline struct dvb_frontend *dvb_dummy_fe_qam_attach(void)
|
static inline struct dvb_frontend *dvb_dummy_fe_qam_attach(void)
|
||||||
{
|
{
|
||||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
pr_warn("%s: driver disabled by Kconfig\n", __func__);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_DVB_DUMMY_FE */
|
#endif /* CONFIG_DVB_DUMMY_FE */
|
||||||
|
Loading…
Reference in New Issue
Block a user