ams-delta.c (f81ee8b8b8421dc06d13f197bb53191559cc51da) ams-delta.c (357a6a875f1c4772f2102639bf19619780889f31)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * ams-delta.c -- SoC audio for Amstrad E3 (Delta) videophone
4 *
5 * Copyright (C) 2009 Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
6 *
7 * Initially based on sound/soc/omap/osk5912.x
8 * Copyright (C) 2008 Mistral Solutions

--- 569 unchanged lines hidden (view full) ---

578 }
579 return 0;
580}
581
582static int ams_delta_remove(struct platform_device *pdev)
583{
584 struct snd_soc_card *card = platform_get_drvdata(pdev);
585
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * ams-delta.c -- SoC audio for Amstrad E3 (Delta) videophone
4 *
5 * Copyright (C) 2009 Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
6 *
7 * Initially based on sound/soc/omap/osk5912.x
8 * Copyright (C) 2008 Mistral Solutions

--- 569 unchanged lines hidden (view full) ---

578 }
579 return 0;
580}
581
582static int ams_delta_remove(struct platform_device *pdev)
583{
584 struct snd_soc_card *card = platform_get_drvdata(pdev);
585
586 if (tty_unregister_ldisc(&cx81801_ops) != 0)
587 dev_warn(&pdev->dev,
588 "failed to unregister V253 line discipline\n");
586 tty_unregister_ldisc(&cx81801_ops);
589
590 snd_soc_unregister_card(card);
591 card->dev = NULL;
592 return 0;
593}
594
595#define DRV_NAME "ams-delta-audio"
596

--- 14 unchanged lines hidden ---
587
588 snd_soc_unregister_card(card);
589 card->dev = NULL;
590 return 0;
591}
592
593#define DRV_NAME "ams-delta-audio"
594

--- 14 unchanged lines hidden ---