]> sigrok.org Git - libsigrok.git/commitdiff
hw_dev_close(): Move common checks to wrapper.
authorUwe Hermann <redacted>
Fri, 1 Feb 2013 21:58:54 +0000 (22:58 +0100)
committerUwe Hermann <redacted>
Tue, 5 Feb 2013 17:46:33 +0000 (18:46 +0100)
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.


No differences found