uni-t-ut32x: Shorten dev_list().

This commit is contained in:
Uwe Hermann 2013-09-24 09:16:44 +02:00
parent 1ca48e29d4
commit 45c0841b25
1 changed files with 1 additions and 5 deletions

View File

@ -113,11 +113,7 @@ static GSList *scan(GSList *options)
static GSList *dev_list(void)
{
struct drv_context *drvc;
drvc = di->priv;
return drvc->instances;
return ((struct drv_context *)(di->priv))->instances;
}
static int dev_clear(void)