]> sigrok.org Git - libsigrok.git/commit
Remove unnecessary dev_clear() callbacks
authorLars-Peter Clausen <redacted>
Fri, 29 Apr 2016 12:26:00 +0000 (14:26 +0200)
committerLars-Peter Clausen <redacted>
Tue, 3 May 2016 19:24:55 +0000 (21:24 +0200)
commit88a0265ebcb265ba839c02cc5bcd39e359c9f60f
treeb4b413a7917d1a87cd58b8f783300e1ce8fa70ab
parent700d6b64d578ce10e57f6a2289e37a5564eccf1c
Remove unnecessary dev_clear() callbacks

If a driver does not implement a dev_clear() callback the core will
automatically call std_dev_clear(di, NULL). Remove all driver dev_clear()
implementations that are identical to default. This reduces the amount of
boiler-plate code.

Signed-off-by: Lars-Peter Clausen <redacted>
15 files changed:
src/hardware/arachnid-labs-re-load-pro/api.c
src/hardware/baylibre-acme/api.c
src/hardware/beaglelogic/api.c
src/hardware/center-3xx/api.c
src/hardware/gwinstek-gds-800/api.c
src/hardware/hp-3457a/api.c
src/hardware/kern-scale/api.c
src/hardware/korad-kaxxxxp/api.c
src/hardware/lecroy-logicstudio/api.c
src/hardware/manson-hcs-3xxx/api.c
src/hardware/maynuo-m97/api.c
src/hardware/mic-985xx/api.c
src/hardware/serial-dmm/api.c
src/hardware/testo/api.c
src/hardware/uni-t-dmm/api.c