]> git.baikalelectronics.ru Git - kernel.git/commit
[media] firewire: use dev_dbg() instead of printk()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 18 Oct 2016 22:53:35 +0000 (20:53 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 12:05:34 +0000 (10:05 -0200)
commitd43cc36d3849a408dd16bc30a2d4b53a24ec2d92
treed61e36fdb4b79aef7df01d089af85511c8b1b1c1
parent2c69f57d661ebd6fc423a97153243ef35531ffb9
[media] firewire: use dev_dbg() instead of printk()

A structure for firedtv (struct firedtv) has a member for a pointer to
struct device. In this case, we can use dev_dbg() for debug printing.
This is more preferrable behaviour in device driver development.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/firewire/firedtv-rc.c