summaryrefslogtreecommitdiffstats
path: root/core/ostctools.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2016-12-28 20:55:53 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-28 22:40:18 -0800
commit00629c861cc9ecd466dfdaa8049e3dd5e5752ce1 (patch)
tree88a3aa30583dddf788a44b1a6c6e0e735020dcac /core/ostctools.c
parentdb8e786f85a821441166a237a76f576f11cf4bd0 (diff)
downloadsubsurface-00629c861cc9ecd466dfdaa8049e3dd5e5752ce1.tar.gz
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>
Diffstat (limited to 'core/ostctools.c')
-rw-r--r--core/ostctools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ostctools.c b/core/ostctools.c
index 02e80fc16..c87b8b5b0 100644
--- a/core/ostctools.c
+++ b/core/ostctools.c
@@ -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);