return azx_get_pos_posbuf(chip, azx_dev);
 }
 
+static void azx_shutdown_chip(struct azx *chip)
+{
+       azx_stop_chip(chip);
+       azx_enter_link_reset(chip);
+       azx_clear_irq_pending(chip);
+       display_power(chip, false);
+}
+
 #ifdef CONFIG_PM
 static DEFINE_MUTEX(card_list_lock);
 static LIST_HEAD(card_list);
        return true;
 }
 
-static void __azx_runtime_suspend(struct azx *chip)
-{
-       azx_stop_chip(chip);
-       azx_enter_link_reset(chip);
-       azx_clear_irq_pending(chip);
-       display_power(chip, false);
-}
-
 static void __azx_runtime_resume(struct azx *chip)
 {
        struct hda_intel *hda = container_of(chip, struct hda_intel, chip);
 
        chip = card->private_data;
        bus = azx_bus(chip);
-       __azx_runtime_suspend(chip);
+       azx_shutdown_chip(chip);
        if (bus->irq >= 0) {
                free_irq(bus->irq, chip);
                bus->irq = -1;
        /* enable controller wake up event */
        azx_writew(chip, WAKEEN, azx_readw(chip, WAKEEN) | STATESTS_INT_MASK);
 
-       __azx_runtime_suspend(chip);
+       azx_shutdown_chip(chip);
        trace_azx_runtime_suspend(chip);
        return 0;
 }
                return;
        chip = card->private_data;
        if (chip && chip->running)
-               azx_stop_chip(chip);
+               azx_shutdown_chip(chip);
 }
 
 /* PCI IDs */