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:13:08 +0000 (15:13 -0600)
commit2d55dfe529dd9be6af60b596ed2d1af94e2876f8
treec10a75ad275ff7ce21e1951bcc1b2f2d25d1e303
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