Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/3] lx6464es: remove useles pci_set_drvdata(pdev, NULL)
Date: Wed, 29 May 2013 12:17:17 +0200	[thread overview]
Message-ID: <s5hbo7u6qfm.wl%tiwai@suse.de> (raw)
In-Reply-To: <1369821802-2308-1-git-send-email-andriy.shevchenko@linux.intel.com>

At Wed, 29 May 2013 13:03:20 +0300,
Andy Shevchenko wrote:
> 
> The driver core handles this.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Thanks, but I already queued a clean-up patch to remove the whole
pci_set_drvdata() with NULL for all sound/* pci drivers.


Takashi

> ---
>  sound/pci/lx6464es/lx6464es.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c
> index 298bc9b..3230e57 100644
> --- a/sound/pci/lx6464es/lx6464es.c
> +++ b/sound/pci/lx6464es/lx6464es.c
> @@ -1139,7 +1139,6 @@ out_free:
>  static void snd_lx6464es_remove(struct pci_dev *pci)
>  {
>  	snd_card_free(pci_get_drvdata(pci));
> -	pci_set_drvdata(pci, NULL);
>  }
>  
>  
> -- 
> 1.8.2.rc0.22.gb3600c3
> 

      parent reply	other threads:[~2013-05-29 10:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 10:03 [PATCH 1/3] lx6464es: remove useles pci_set_drvdata(pdev, NULL) Andy Shevchenko
2013-05-29 10:03 ` [PATCH 2/3] lx6464es: dump MAC in standard form Andy Shevchenko
2013-05-29 10:15   ` Takashi Iwai
2013-05-29 11:00     ` Andy Shevchenko
2013-05-29 11:03       ` Takashi Iwai
2013-05-29 11:31         ` Andy Shevchenko
2013-05-29 12:15           ` Takashi Iwai
2013-05-29 10:03 ` [PATCH 3/3] lx6464es: use %*phN to print small buffer in hex form Andy Shevchenko
2013-05-29 10:16   ` Takashi Iwai
2013-05-29 11:29     ` Andy Shevchenko
2013-05-29 10:17 ` Takashi Iwai [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=s5hbo7u6qfm.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=andriy.shevchenko@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox