]> sigrok.org Git - libsigrok.git/commitdiff
std_serial_dev_acquisition_stop(): Remove dev_close_fn parameter
authorLars-Peter Clausen <redacted>
Sat, 28 May 2016 11:54:08 +0000 (13:54 +0200)
committerUwe Hermann <redacted>
Tue, 31 May 2016 13:54:52 +0000 (15:54 +0200)
All callers of std_serial_dev_acquisition_stop() currently pass the same
callback for the dev_close_fn parameter as the dev_close callback of their
sr_dev_driver struct. Remove the dev_close_fn parameter and invoke the
drivers dev_close() callback directly. This simplifies the API and ensures
consistent behaviour between different drivers.

Signed-off-by: Lars-Peter Clausen <redacted>

No differences found