]> asedeno.scripts.mit.edu Git - linux.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)
commitf96cffd77b014944fd0d855cf56b2b5724fafb0d
treed61e36fdb4b79aef7df01d089af85511c8b1b1c1
parent2a3edc5d55c23ee7e2c7fa662ac76cc41863c7a4
[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