]> sigrok.org Git - libsigrok.git/commit
serial-dmm: Remove global sr_dev_driver *di alias
authorAlexandru Gagniuc <redacted>
Thu, 13 Dec 2012 16:53:28 +0000 (10:53 -0600)
committerUwe Hermann <redacted>
Thu, 13 Dec 2012 22:16:34 +0000 (23:16 +0100)
commitd128bf12b27432988cc5a0bf7d6ec3fca0696b0b
tree07d0104cabbbd189ed9bd40efd840bf0bd68b857
parent3098b3902d1794831be010ebff0484caf845de60
serial-dmm: Remove global sr_dev_driver *di alias

The global *di alias was used to keep track of the driver context.
It caused issues with trying to use several subdrivers at once, so
its use was obsoleted.

The correct context is preserved through different mechanisms, either
the *sdi pointer, or wrappers which pass the correct context.

The *di alias is no longer used, so remove it.

Signed-off-by: Alexandru Gagniuc <redacted>
hardware/serial-dmm/api.c