diff options
Diffstat (limited to 'drivers/macintosh/rack-meter.c')
-rw-r--r-- | drivers/macintosh/rack-meter.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/macintosh/rack-meter.c b/drivers/macintosh/rack-meter.c index 6dc26b61219b..cad0e19b47a2 100644 --- a/drivers/macintosh/rack-meter.c +++ b/drivers/macintosh/rack-meter.c | |||
@@ -253,7 +253,7 @@ static void rackmeter_do_timer(struct work_struct *work) | |||
253 | msecs_to_jiffies(CPU_SAMPLING_RATE)); | 253 | msecs_to_jiffies(CPU_SAMPLING_RATE)); |
254 | } | 254 | } |
255 | 255 | ||
256 | static void __devinit rackmeter_init_cpu_sniffer(struct rackmeter *rm) | 256 | static void rackmeter_init_cpu_sniffer(struct rackmeter *rm) |
257 | { | 257 | { |
258 | unsigned int cpu; | 258 | unsigned int cpu; |
259 | 259 | ||
@@ -287,7 +287,7 @@ static void rackmeter_stop_cpu_sniffer(struct rackmeter *rm) | |||
287 | cancel_delayed_work_sync(&rm->cpu[1].sniffer); | 287 | cancel_delayed_work_sync(&rm->cpu[1].sniffer); |
288 | } | 288 | } |
289 | 289 | ||
290 | static int __devinit rackmeter_setup(struct rackmeter *rm) | 290 | static int rackmeter_setup(struct rackmeter *rm) |
291 | { | 291 | { |
292 | pr_debug("rackmeter: setting up i2s..\n"); | 292 | pr_debug("rackmeter: setting up i2s..\n"); |
293 | rackmeter_setup_i2s(rm); | 293 | rackmeter_setup_i2s(rm); |
@@ -362,8 +362,8 @@ static irqreturn_t rackmeter_irq(int irq, void *arg) | |||
362 | return IRQ_HANDLED; | 362 | return IRQ_HANDLED; |
363 | } | 363 | } |
364 | 364 | ||
365 | static int __devinit rackmeter_probe(struct macio_dev* mdev, | 365 | static int rackmeter_probe(struct macio_dev* mdev, |
366 | const struct of_device_id *match) | 366 | const struct of_device_id *match) |
367 | { | 367 | { |
368 | struct device_node *i2s = NULL, *np = NULL; | 368 | struct device_node *i2s = NULL, *np = NULL; |
369 | struct rackmeter *rm = NULL; | 369 | struct rackmeter *rm = NULL; |
@@ -521,7 +521,7 @@ static int __devinit rackmeter_probe(struct macio_dev* mdev, | |||
521 | return rc; | 521 | return rc; |
522 | } | 522 | } |
523 | 523 | ||
524 | static int __devexit rackmeter_remove(struct macio_dev* mdev) | 524 | static int rackmeter_remove(struct macio_dev* mdev) |
525 | { | 525 | { |
526 | struct rackmeter *rm = dev_get_drvdata(&mdev->ofdev.dev); | 526 | struct rackmeter *rm = dev_get_drvdata(&mdev->ofdev.dev); |
527 | 527 | ||
@@ -588,7 +588,7 @@ static struct macio_driver rackmeter_driver = { | |||
588 | .of_match_table = rackmeter_match, | 588 | .of_match_table = rackmeter_match, |
589 | }, | 589 | }, |
590 | .probe = rackmeter_probe, | 590 | .probe = rackmeter_probe, |
591 | .remove = __devexit_p(rackmeter_remove), | 591 | .remove = rackmeter_remove, |
592 | .shutdown = rackmeter_shutdown, | 592 | .shutdown = rackmeter_shutdown, |
593 | }; | 593 | }; |
594 | 594 | ||