On Mon, Mar 12, 2018 at 7:02 PM, Arushi Singhal
> Using pr_<loglevel>() is more concise than printk(KERN_<LOGLEVEL>).
> This patch:
> @@ -182,7 +184,7 @@ static void fixup_convert_atmel_pri(struct mtd_info *mtd)
> - printk(KERN_ERR "atmel Features: %02x\n", atmel_pri.Features);
> + pr_err("atmel Features: %02x\n", atmel_pri.Features);
Does struct mtd_info include a pointer to struct device? In such case,
why not to use dev_*() macros instead?
(It's a question to the all current pr_*()/printk() calls.
With Best Regards,