]> sigrok.org Git - libsigrok.git/commit - hardware/fx2lafw/api.c
fx2lafw: Use DRIVER_LOG_DOMAIN for log messages
authorAlexandru Gagniuc <redacted>
Thu, 13 Dec 2012 21:08:05 +0000 (15:08 -0600)
committerAlexandru Gagniuc <redacted>
Mon, 17 Dec 2012 18:26:10 +0000 (12:26 -0600)
commitf427daefb01cdaf578dc8b9fa5f59c5525439289
treec4177fb50409e16874e406f58759c8fb113ad8f9
parent006dbe55878ec7499e58a130c27f6c4297ada54b
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 <redacted>
hardware/fx2lafw/command.c
hardware/fx2lafw/fx2lafw.c
hardware/fx2lafw/fx2lafw.h