mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename ostc_get_data_descriptor to get_descriptor
This renames and cleans up ostc_get_data_descriptor into get_descriptor, for more generic use. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
db8e786f85
commit
00629c861c
3 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ static int ostc_prepare_data(int data_model, dc_family_t dc_fam, device_data_t *
|
|||
dev_data->device = NULL;
|
||||
dev_data->context = NULL;
|
||||
|
||||
data_descriptor = ostc_get_data_descriptor(data_model, dc_fam);
|
||||
data_descriptor = get_descriptor(data_model, dc_fam);
|
||||
if (data_descriptor) {
|
||||
dev_data->descriptor = data_descriptor;
|
||||
dev_data->vendor = copy_string(data_descriptor->vendor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue