libsigrok/src/hardware/ftdi-la
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
protocol.c dev_acquisition_{start,stop}(): Drop duplicate 'cb_data' parameter. 2016-04-29 19:20:53 +02:00
protocol.h ftdi-la: Use the standard connection_id field for the device address 2016-05-18 18:15:33 +02:00