aboutsummaryrefslogtreecommitdiff
path: root/src/hardware/kecheng-kc-330b/protocol.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-05-28 13:45:54 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2016-05-31 15:54:52 +0200
commit7d786a962d11c1ed7bca29da3979aaf8a52ef618 (patch)
tree0056027521540e7e90dbe1bdeee28151498d98bb /src/hardware/kecheng-kc-330b/protocol.c
parent580b94e4d762d21a018b3cf535fe8764c9cb1c6f (diff)
pce-322a: Pass driver dev_close callback std_serial_dev_acquisition_stop()
All drivers with the exception of pce-322a pass their dev_close callback to std_serial_dev_acquisition_stop(). The pce-322a passes std_serial_dev_close() which is also called from its dev_close() callback and replicates the other functionality of its dev_close() callback directly in std_serial_dev_acquisition_stop(). Refactor this to pass the dev_close callback function directly to std_serial_dev_acquisition_stop(). This makes sure that the driver is consistent with other drivers and also removes duplicated code. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'src/hardware/kecheng-kc-330b/protocol.c')
0 files changed, 0 insertions, 0 deletions