PCI: use %pF instead of print_fn_descriptor_symbol() in quirks.c
[deliverable/linux.git] / sound / sound_core.c
index 4ae07e236b36a81d87a51307a9272b50cef17528..faef87a9bc3fdbac4f5ed27040877de887db6783 100644 (file)
@@ -220,9 +220,8 @@ static int sound_insert_unit(struct sound_unit **list, const struct file_operati
        else
                sprintf(s->name, "sound/%s%d", name, r / SOUND_STEP);
 
-       device_create_drvdata(sound_class, dev,
-                             MKDEV(SOUND_MAJOR, s->unit_minor),
-                             NULL, s->name+6);
+       device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor),
+                     NULL, s->name+6);
        return r;
 
  fail:
This page took 0.02496 seconds and 5 git commands to generate.