]> sigrok.org Git - libsigrok.git/commitdiff
Match std_init() parameter order to the driver init() callback
authorLars-Peter Clausen <redacted>
Sun, 8 May 2016 12:55:15 +0000 (14:55 +0200)
committerUwe Hermann <redacted>
Mon, 9 May 2016 13:10:26 +0000 (15:10 +0200)
The std_init() callback has the order of the first two paramters opposite
to the init() callback. This is primarily due to historical development.

Since the std_init() function is usually called from a driver's init()
callback aligning the order will allow direct register pass through rather
than having to swap them around. It also allow to eventually use the
std_init() function directly as the init() callback.

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

No differences found