aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hsi/clients/hsi_char.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hsi/clients/hsi_char.c')
-rw-r--r--drivers/hsi/clients/hsi_char.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c
index 3ad91f6447d..e61e5f991aa 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
678static void __devinit hsc_channel_init(struct hsc_channel *channel) 678static 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
688static int __devinit hsc_probe(struct device *dev) 688static 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
747static int __devexit hsc_remove(struct device *dev) 747static 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