wavefront.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) | wavefront.c (30e88d017fcbeb50c4b07577fe059558361067e7) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * ALSA card-level driver for Turtle Beach Wavefront cards 4 * (Maui,Tropez,Tropez+) 5 * 6 * Copyright (c) 1997-1999 by Paul Barton-Davis <pbd@op.net> 7 */ 8 --- 551 unchanged lines hidden (view full) --- 560 snd_card_free(card); 561 return err; 562 } 563 564 dev_set_drvdata(pdev, card); 565 return 0; 566} 567 | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * ALSA card-level driver for Turtle Beach Wavefront cards 4 * (Maui,Tropez,Tropez+) 5 * 6 * Copyright (c) 1997-1999 by Paul Barton-Davis <pbd@op.net> 7 */ 8 --- 551 unchanged lines hidden (view full) --- 560 snd_card_free(card); 561 return err; 562 } 563 564 dev_set_drvdata(pdev, card); 565 return 0; 566} 567 |
568static int snd_wavefront_isa_remove(struct device *devptr, | 568static void snd_wavefront_isa_remove(struct device *devptr, |
569 unsigned int dev) 570{ 571 snd_card_free(dev_get_drvdata(devptr)); | 569 unsigned int dev) 570{ 571 snd_card_free(dev_get_drvdata(devptr)); |
572 return 0; | |
573} 574 575#define DEV_NAME "wavefront" 576 577static struct isa_driver snd_wavefront_driver = { 578 .match = snd_wavefront_isa_match, 579 .probe = snd_wavefront_isa_probe, 580 .remove = snd_wavefront_isa_remove, --- 90 unchanged lines hidden --- | 572} 573 574#define DEV_NAME "wavefront" 575 576static struct isa_driver snd_wavefront_driver = { 577 .match = snd_wavefront_isa_match, 578 .probe = snd_wavefront_isa_probe, 579 .remove = snd_wavefront_isa_remove, --- 90 unchanged lines hidden --- |