diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:14:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:16 -0500 |
commit | 0fe763c570ad2701c830b9e4e53c65ad89c11c32 (patch) | |
tree | 88a648c1cbcda318507d339bf93f1b24af4ff4bf /drivers/hsi/clients | |
parent | 8d85fce77edfc22f1d6dbf78e3af723b4b556f3d (diff) |
Drivers: misc: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hsi/clients')
-rw-r--r-- | drivers/hsi/clients/hsi_char.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index 3ad91f6447d8..e61e5f991aa5 100644 --- a/drivers/hsi/clients/hsi_char.c +++ b/drivers/hsi/clients/hsi_char.c | |||
@@ -675,7 +675,7 @@ static const struct file_operations hsc_fops = { | |||
675 | .release = hsc_release, | 675 | .release = hsc_release, |
676 | }; | 676 | }; |
677 | 677 | ||
678 | static void __devinit hsc_channel_init(struct hsc_channel *channel) | 678 | static void hsc_channel_init(struct hsc_channel *channel) |
679 | { | 679 | { |
680 | init_waitqueue_head(&channel->rx_wait); | 680 | init_waitqueue_head(&channel->rx_wait); |
681 | init_waitqueue_head(&channel->tx_wait); | 681 | init_waitqueue_head(&channel->tx_wait); |
@@ -685,7 +685,7 @@ static void __devinit hsc_channel_init(struct hsc_channel *channel) | |||
685 | INIT_LIST_HEAD(&channel->tx_msgs_queue); | 685 | INIT_LIST_HEAD(&channel->tx_msgs_queue); |
686 | } | 686 | } |
687 | 687 | ||
688 | static int __devinit hsc_probe(struct device *dev) | 688 | static int hsc_probe(struct device *dev) |
689 | { | 689 | { |
690 | const char devname[] = "hsi_char"; | 690 | const char devname[] = "hsi_char"; |
691 | struct hsc_client_data *cl_data; | 691 | struct hsc_client_data *cl_data; |
@@ -744,7 +744,7 @@ out1: | |||
744 | return ret; | 744 | return ret; |
745 | } | 745 | } |
746 | 746 | ||
747 | static int __devexit hsc_remove(struct device *dev) | 747 | static int hsc_remove(struct device *dev) |
748 | { | 748 | { |
749 | struct hsi_client *cl = to_hsi_client(dev); | 749 | struct hsi_client *cl = to_hsi_client(dev); |
750 | struct hsc_client_data *cl_data = hsi_client_drvdata(cl); | 750 | struct hsc_client_data *cl_data = hsi_client_drvdata(cl); |
@@ -763,7 +763,7 @@ static struct hsi_client_driver hsc_driver = { | |||
763 | .name = "hsi_char", | 763 | .name = "hsi_char", |
764 | .owner = THIS_MODULE, | 764 | .owner = THIS_MODULE, |
765 | .probe = hsc_probe, | 765 | .probe = hsc_probe, |
766 | .remove = __devexit_p(hsc_remove), | 766 | .remove = hsc_remove, |
767 | }, | 767 | }, |
768 | }; | 768 | }; |
769 | 769 | ||