mirror of https://gitee.com/openkylin/linux.git
staging: vme: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Martyn Welch <martyn.welch@ge.com> Cc: Manohar Vanga <manohar.vanga@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
37a6520057
commit
f21a824764
|
@ -43,7 +43,7 @@ static bool loopback;
|
|||
|
||||
static int pio2_match(struct vme_dev *);
|
||||
static int pio2_probe(struct vme_dev *);
|
||||
static int __devexit pio2_remove(struct vme_dev *);
|
||||
static int pio2_remove(struct vme_dev *);
|
||||
|
||||
static int pio2_get_led(struct pio2_card *card)
|
||||
{
|
||||
|
@ -455,7 +455,7 @@ static int pio2_probe(struct vme_dev *vdev)
|
|||
return retval;
|
||||
}
|
||||
|
||||
static int __devexit pio2_remove(struct vme_dev *vdev)
|
||||
static int pio2_remove(struct vme_dev *vdev)
|
||||
{
|
||||
int vec;
|
||||
int i;
|
||||
|
|
|
@ -138,7 +138,7 @@ static long vme_user_unlocked_ioctl(struct file *, unsigned int, unsigned long);
|
|||
|
||||
static int vme_user_match(struct vme_dev *);
|
||||
static int vme_user_probe(struct vme_dev *);
|
||||
static int __devexit vme_user_remove(struct vme_dev *);
|
||||
static int vme_user_remove(struct vme_dev *);
|
||||
|
||||
static const struct file_operations vme_user_fops = {
|
||||
.open = vme_user_open,
|
||||
|
@ -846,7 +846,7 @@ static int vme_user_probe(struct vme_dev *vdev)
|
|||
return err;
|
||||
}
|
||||
|
||||
static int __devexit vme_user_remove(struct vme_dev *dev)
|
||||
static int vme_user_remove(struct vme_dev *dev)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue