diff options
Diffstat (limited to 'drivers/net/irda/tekram-sir.c')
-rw-r--r-- | drivers/net/irda/tekram-sir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/irda/tekram-sir.c b/drivers/net/irda/tekram-sir.c index d1ce5ae6a172..048a15422844 100644 --- a/drivers/net/irda/tekram-sir.c +++ b/drivers/net/irda/tekram-sir.c | |||
@@ -77,7 +77,7 @@ static int tekram_open(struct sir_dev *dev) | |||
77 | { | 77 | { |
78 | struct qos_info *qos = &dev->qos; | 78 | struct qos_info *qos = &dev->qos; |
79 | 79 | ||
80 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 80 | IRDA_DEBUG(2, "%s()\n", __func__); |
81 | 81 | ||
82 | sirdev_set_dtr_rts(dev, TRUE, TRUE); | 82 | sirdev_set_dtr_rts(dev, TRUE, TRUE); |
83 | 83 | ||
@@ -92,7 +92,7 @@ static int tekram_open(struct sir_dev *dev) | |||
92 | 92 | ||
93 | static int tekram_close(struct sir_dev *dev) | 93 | static int tekram_close(struct sir_dev *dev) |
94 | { | 94 | { |
95 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 95 | IRDA_DEBUG(2, "%s()\n", __func__); |
96 | 96 | ||
97 | /* Power off dongle */ | 97 | /* Power off dongle */ |
98 | sirdev_set_dtr_rts(dev, FALSE, FALSE); | 98 | sirdev_set_dtr_rts(dev, FALSE, FALSE); |
@@ -130,7 +130,7 @@ static int tekram_change_speed(struct sir_dev *dev, unsigned speed) | |||
130 | u8 byte; | 130 | u8 byte; |
131 | static int ret = 0; | 131 | static int ret = 0; |
132 | 132 | ||
133 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 133 | IRDA_DEBUG(2, "%s()\n", __func__); |
134 | 134 | ||
135 | switch(state) { | 135 | switch(state) { |
136 | case SIRDEV_STATE_DONGLE_SPEED: | 136 | case SIRDEV_STATE_DONGLE_SPEED: |
@@ -179,7 +179,7 @@ static int tekram_change_speed(struct sir_dev *dev, unsigned speed) | |||
179 | break; | 179 | break; |
180 | 180 | ||
181 | default: | 181 | default: |
182 | IRDA_ERROR("%s - undefined state %d\n", __FUNCTION__, state); | 182 | IRDA_ERROR("%s - undefined state %d\n", __func__, state); |
183 | ret = -EINVAL; | 183 | ret = -EINVAL; |
184 | break; | 184 | break; |
185 | } | 185 | } |
@@ -204,7 +204,7 @@ static int tekram_change_speed(struct sir_dev *dev, unsigned speed) | |||
204 | 204 | ||
205 | static int tekram_reset(struct sir_dev *dev) | 205 | static int tekram_reset(struct sir_dev *dev) |
206 | { | 206 | { |
207 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 207 | IRDA_DEBUG(2, "%s()\n", __func__); |
208 | 208 | ||
209 | /* Clear DTR, Set RTS */ | 209 | /* Clear DTR, Set RTS */ |
210 | sirdev_set_dtr_rts(dev, FALSE, TRUE); | 210 | sirdev_set_dtr_rts(dev, FALSE, TRUE); |