diff options
Diffstat (limited to 'drivers/char/snsc_event.c')
-rw-r--r-- | drivers/char/snsc_event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/snsc_event.c b/drivers/char/snsc_event.c index 31a7765eaf73..53b3d44f8c06 100644 --- a/drivers/char/snsc_event.c +++ b/drivers/char/snsc_event.c | |||
@@ -271,7 +271,7 @@ scdrv_event_init(struct sysctl_data_s *scd) | |||
271 | event_sd = kzalloc(sizeof (struct subch_data_s), GFP_KERNEL); | 271 | event_sd = kzalloc(sizeof (struct subch_data_s), GFP_KERNEL); |
272 | if (event_sd == NULL) { | 272 | if (event_sd == NULL) { |
273 | printk(KERN_WARNING "%s: couldn't allocate subchannel info" | 273 | printk(KERN_WARNING "%s: couldn't allocate subchannel info" |
274 | " for event monitoring\n", __FUNCTION__); | 274 | " for event monitoring\n", __func__); |
275 | return; | 275 | return; |
276 | } | 276 | } |
277 | 277 | ||
@@ -285,7 +285,7 @@ scdrv_event_init(struct sysctl_data_s *scd) | |||
285 | if (event_sd->sd_subch < 0) { | 285 | if (event_sd->sd_subch < 0) { |
286 | kfree(event_sd); | 286 | kfree(event_sd); |
287 | printk(KERN_WARNING "%s: couldn't open event subchannel\n", | 287 | printk(KERN_WARNING "%s: couldn't open event subchannel\n", |
288 | __FUNCTION__); | 288 | __func__); |
289 | return; | 289 | return; |
290 | } | 290 | } |
291 | 291 | ||
@@ -295,7 +295,7 @@ scdrv_event_init(struct sysctl_data_s *scd) | |||
295 | "system controller events", event_sd); | 295 | "system controller events", event_sd); |
296 | if (rv) { | 296 | if (rv) { |
297 | printk(KERN_WARNING "%s: irq request failed (%d)\n", | 297 | printk(KERN_WARNING "%s: irq request failed (%d)\n", |
298 | __FUNCTION__, rv); | 298 | __func__, rv); |
299 | ia64_sn_irtr_close(event_sd->sd_nasid, event_sd->sd_subch); | 299 | ia64_sn_irtr_close(event_sd->sd_nasid, event_sd->sd_subch); |
300 | kfree(event_sd); | 300 | kfree(event_sd); |
301 | return; | 301 | return; |