fx2lafw: Use DRIVER_LOG_DOMAIN for log messages
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 13 Dec 2012 21:08:05 +0000 (15:08 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 13 Dec 2012 21:08:05 +0000 (15:08 -0600)
commit24e9523c346afdaffb7dfa86a3a6229ca85c24ae
tree456a7715e5fe3ee1df1f0130ff959ce8b7f26f11
parent481f67acd5f33b4aa0474b509870a18da0d29be8
fx2lafw: Use DRIVER_LOG_DOMAIN for log messages

Use the new DRIVER_LOG_DOMAIN mechanism, where explicitly writing
the driver name in the message string is no longer required.

Thus:

- sr_err("fx2lafw: Something bad happened.");

becomes:

+ sr_err("Something bad happened.");

In either case, the log output is the same.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
hardware/fx2lafw/command.c
hardware/fx2lafw/fx2lafw.c
hardware/fx2lafw/fx2lafw.h