libsigrok/src/hardware/beaglelogic
Lars-Peter Clausen bee2b0168c Use driver name as the log prefix in standard functions
Some of the standard helper functions take a log prefix parameter that is
used when printing messages. This log prefix is almost always identical to
the name field in the driver's sr_dev_driver struct. The only exception are
drivers which register multiple sr_dev_driver structs.

Instead of passing the log prefix as a parameter simply use the driver's
name. This simplifies the API, gives consistent behaviour between different
drivers and also makes it easier to identify where the message originates
when a driver registers sr_dev_driver structs.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2016-05-31 15:54:52 +02:00
..
api.c Use driver name as the log prefix in standard functions 2016-05-31 15:54:52 +02:00
beaglelogic.h beaglelogic: use standard # operator instead of ugly __STRING macro 2016-02-06 17:24:34 +01:00
protocol.c Use driver name as the log prefix in standard functions 2016-05-31 15:54:52 +02:00
protocol.h dev_acquisition_{start,stop}(): Drop duplicate 'cb_data' parameter. 2016-04-29 19:20:53 +02:00