device: rename channel group lookup routine
commit9a6e8ec4bc84d94e27c9a004a7b75caaa0ba7124
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 23 May 2020 10:48:18 +0000 (23 12:48 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Mon, 3 Aug 2020 19:52:17 +0000 (3 21:52 +0200)
treeb43881482272e6f76e0e27317e126ea6b58d052d
parenta92fe14dd86aceb5c75be26247345faed70c6283
device: rename channel group lookup routine

The select_channel_group() name was misleading, the routine did not
actively select a channel group, instead returned the lookup result
and left the activity to the caller. Rename the routine to improve
readability of call sites.

Address minor style nits in the routine body while we are here.
device.c
main.c
session.c
show.c
sigrok-cli.h