aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/rack-meter.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-01-03 19:17:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-01-03 19:17:50 -0500
commit49569646b2413ee1a4fb7c4537fca058ac22292e (patch)
tree41b8bc72975610295c2e4cf9318478272c667c75 /drivers/macintosh/rack-meter.c
parent5f738967e89584f99c6a11c6bf09b16c50b6a03e (diff)
parent6ae141718e3f9c7e2c620e999c86612a7f415bb1 (diff)
Merge tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core __dev* removal patches - take 3 - from Greg Kroah-Hartman: "Here are the remaining __dev* removal patches against the 3.8-rc2 tree. All of these patches were previously sent to the subsystem maintainers, most of them were picked up and pushed to you, but there were a number that fell through the cracks, and new drivers were added during the merge window, so this series cleans up the rest of the instances of these markings. Third time's the charm... Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflict with the pinctrl pull in pinctrl-sirf.c. * tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (54 commits) misc: remove __dev* attributes. include: remove __dev* attributes. Documentation: remove __dev* attributes. Drivers: misc: remove __dev* attributes. Drivers: block: remove __dev* attributes. Drivers: bcma: remove __dev* attributes. Drivers: char: remove __dev* attributes. Drivers: clocksource: remove __dev* attributes. Drivers: ssb: remove __dev* attributes. Drivers: dma: remove __dev* attributes. Drivers: gpu: remove __dev* attributes. Drivers: infinband: remove __dev* attributes. Drivers: memory: remove __dev* attributes. Drivers: mmc: remove __dev* attributes. Drivers: iommu: remove __dev* attributes. Drivers: power: remove __dev* attributes. Drivers: message: remove __dev* attributes. Drivers: macintosh: remove __dev* attributes. Drivers: mfd: remove __dev* attributes. pstore: remove __dev* attributes. ...
Diffstat (limited to 'drivers/macintosh/rack-meter.c')
-rw-r--r--drivers/macintosh/rack-meter.c12
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
256static void __devinit rackmeter_init_cpu_sniffer(struct rackmeter *rm) 256static 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
290static int __devinit rackmeter_setup(struct rackmeter *rm) 290static 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
365static int __devinit rackmeter_probe(struct macio_dev* mdev, 365static 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
524static int __devexit rackmeter_remove(struct macio_dev* mdev) 524static 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