All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, Jassi Brar <jassi.brar@samsung.com>
Subject: Re: [PATCH] ASoC: Make SMDK WM8580 driver unloadable
Date: Thu, 25 Nov 2010 10:25:28 +0000	[thread overview]
Message-ID: <1290680728.3302.3.camel@odin> (raw)
In-Reply-To: <1290619203-27875-1-git-send-email-broonie@opensource.wolfsonmicro.com>

On Wed, 2010-11-24 at 17:20 +0000, Mark Brown wrote:
> Supply a module exit function so that the driver can be unloaded.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  sound/soc/samsung/smdk_wm8580.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/samsung/smdk_wm8580.c b/sound/soc/samsung/smdk_wm8580.c
> index 0ae3d57..e2d56b9 100644
> --- a/sound/soc/samsung/smdk_wm8580.c
> +++ b/sound/soc/samsung/smdk_wm8580.c
> @@ -280,6 +280,12 @@ static int __init smdk_audio_init(void)
>  }
>  module_init(smdk_audio_init);
>  
> +static void __exit smdk_audio_exit(void)
> +{
> +	platform_device_unregister(smdk_snd_device);
> +}
> +module_exit(smdk_audio_exit);
> +
>  MODULE_AUTHOR("Jaswinder Singh, jassi.brar@samsung.com");
>  MODULE_DESCRIPTION("ALSA SoC SMDK WM8580");
>  MODULE_LICENSE("GPL");

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

      parent reply	other threads:[~2010-11-25 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-24 17:20 [PATCH] ASoC: Make SMDK WM8580 driver unloadable Mark Brown
2010-11-25  1:19 ` Jassi Brar
2010-11-25 10:25 ` Liam Girdwood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290680728.3302.3.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=jassi.brar@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.