Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Bill Pemberton <wfp5p@virginia.edu>
Cc: tiwai@suse.de, gregkh@linuxfoundation.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH 20/20] ALSA: snd-usb-caiaq: remove __dev* attributes
Date: Thu, 06 Dec 2012 18:36:10 +0100	[thread overview]
Message-ID: <50C0D78A.2020900@gmail.com> (raw)
In-Reply-To: <1354815329-20221-21-git-send-email-wfp5p@virginia.edu>

On 06.12.2012 18:35, Bill Pemberton wrote:
> CONFIG_HOTPLUG is going away as an option.  As result the __dev*
> markings will be going away.
> 
> Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
> and __devexit.
> 
> Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
> Cc: Daniel Mack <zonque@gmail.com>

Acked-by: Daniel Mack <zonque@gmail.com>


Thanks!

Daniel


> ---
>  sound/usb/caiaq/control.c | 8 ++++----
>  sound/usb/caiaq/device.c  | 6 +++---
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/sound/usb/caiaq/control.c b/sound/usb/caiaq/control.c
> index 00e5d0a..adb8d03 100644
> --- a/sound/usb/caiaq/control.c
> +++ b/sound/usb/caiaq/control.c
> @@ -137,7 +137,7 @@ static int control_put(struct snd_kcontrol *kcontrol,
>  	return 1;
>  }
>  
> -static struct snd_kcontrol_new kcontrol_template __devinitdata = {
> +static struct snd_kcontrol_new kcontrol_template = {
>  	.iface = SNDRV_CTL_ELEM_IFACE_HWDEP,
>  	.access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
>  	.index = 0,
> @@ -489,8 +489,8 @@ static struct caiaq_controller kontrols4_controller[] = {
>  	{ "LED: FX2: Mode",			133 | CNT_INTVAL },
>  };
>  
> -static int __devinit add_controls(struct caiaq_controller *c, int num,
> -				  struct snd_usb_caiaqdev *dev)
> +static int add_controls(struct caiaq_controller *c, int num,
> +			struct snd_usb_caiaqdev *dev)
>  {
>  	int i, ret;
>  	struct snd_kcontrol *kc;
> @@ -507,7 +507,7 @@ static int __devinit add_controls(struct caiaq_controller *c, int num,
>  	return 0;
>  }
>  
> -int __devinit snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *dev)
> +int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *dev)
>  {
>  	int ret = 0;
>  
> diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c
> index 7da0d0a..c828f81 100644
> --- a/sound/usb/caiaq/device.c
> +++ b/sound/usb/caiaq/device.c
> @@ -289,7 +289,7 @@ int snd_usb_caiaq_set_auto_msg(struct snd_usb_caiaqdev *dev,
>  					  tmp, sizeof(tmp));
>  }
>  
> -static void __devinit setup_card(struct snd_usb_caiaqdev *dev)
> +static void setup_card(struct snd_usb_caiaqdev *dev)
>  {
>  	int ret;
>  	char val[4];
> @@ -407,7 +407,7 @@ static int create_card(struct usb_device *usb_dev,
>  	return 0;
>  }
>  
> -static int __devinit init_card(struct snd_usb_caiaqdev *dev)
> +static int init_card(struct snd_usb_caiaqdev *dev)
>  {
>  	char *c, usbpath[32];
>  	struct usb_device *usb_dev = dev->chip.dev;
> @@ -481,7 +481,7 @@ static int __devinit init_card(struct snd_usb_caiaqdev *dev)
>  	return 0;
>  }
>  
> -static int __devinit snd_probe(struct usb_interface *intf,
> +static int snd_probe(struct usb_interface *intf,
>  		     const struct usb_device_id *id)
>  {
>  	int ret;
> 

  parent reply	other threads:[~2012-12-06 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1354815329-20221-1-git-send-email-wfp5p@virginia.edu>
2012-12-06 17:35 ` [PATCH 03/20] ALSA: pxa2xx: remove __dev* attributes Bill Pemberton
2012-12-08 16:24   ` Haojian Zhuang
2012-12-06 17:35 ` [PATCH 07/20] ALSA: parisc/harmony: " Bill Pemberton
2012-12-06 17:35 ` [PATCH 09/20] ALSA: ad1889: " Bill Pemberton
2012-12-06 17:35 ` [PATCH 13/20] ALSA: sound/ps3: " Bill Pemberton
2012-12-06 22:24   ` Geoff Levand
     [not found] ` <1354815329-20221-21-git-send-email-wfp5p@virginia.edu>
2012-12-06 17:36   ` Daniel Mack [this message]
2012-12-06 17:41 ` [PATCH 00/20] ALSA: remove __dev* attributes for retirement of HOTPLUG Takashi Iwai
     [not found]   ` <20121206174556.D585580213@viridian.itc.virginia.edu>
2012-12-07  8:39     ` Takashi Iwai
     [not found] ` <1354815329-20221-6-git-send-email-wfp5p@virginia.edu>
2012-12-06 18:13   ` [PATCH 05/20] ALSA: firewire-speakers: remove __dev* attributes Clemens Ladisch

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=50C0D78A.2020900@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=tiwai@suse.de \
    --cc=wfp5p@virginia.edu \
    /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