diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-30 11:10:12 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-30 11:10:12 -0400 | 
| commit | 24a77daf3d80bddcece044e6dc3675e427eef3f3 (patch) | |
| tree | 2c5e0b0bea394d6fe62c5d5857c252e83e48ac48 /drivers/macintosh/therm_pm72.c | |
| parent | e389f9aec689209724105ae80a6c91fd2e747bc9 (diff) | |
| parent | f900e9777fc9b65140cb9570438597bc8fae56ab (diff) | |
Merge branch 'for-2.6.22' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'for-2.6.22' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (255 commits)
  [POWERPC] Remove dev_dbg redefinition in drivers/ps3/vuart.c
  [POWERPC] remove kernel module option for booke wdt
  [POWERPC] Avoid putting cpu node twice
  [POWERPC] Spinlock initializer cleanup
  [POWERPC] ppc4xx_sgdma needs dma-mapping.h
  [POWERPC] arch/powerpc/sysdev/timer.c build fix
  [POWERPC] get_property cleanups
  [POWERPC] Remove the unused HTDMSOUND driver
  [POWERPC] cell: cbe_cpufreq cleanup and crash fix
  [POWERPC] Declare enable_kernel_spe in a header
  [POWERPC] Add dt_xlate_addr() to bootwrapper
  [POWERPC] bootwrapper: CONFIG_ -> CONFIG_DEVICE_TREE
  [POWERPC] Don't define a custom bd_t for Xilixn Virtex based boards.
  [POWERPC] Add sane defaults for Xilinx EDK generated xparameters files
  [POWERPC] Add uartlite boot console driver for the zImage wrapper
  [POWERPC] Stop using ppc_sys for Xilinx Virtex boards
  [POWERPC] New registration for common Xilinx Virtex ppc405 platform devices
  [POWERPC] Merge common virtex header files
  [POWERPC] Rework Kconfig dependancies for Xilinx Virtex ppc405 platform
  [POWERPC] Clean up cpufreq Kconfig dependencies
  ...
Diffstat (limited to 'drivers/macintosh/therm_pm72.c')
| -rw-r--r-- | drivers/macintosh/therm_pm72.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index 2e4ad44a8636..78ff18617139 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c | |||
| @@ -674,7 +674,7 @@ static int read_eeprom(int cpu, struct mpu_data *out) | |||
| 674 | printk(KERN_ERR "therm_pm72: Failed to retrieve cpuid node from device-tree\n"); | 674 | printk(KERN_ERR "therm_pm72: Failed to retrieve cpuid node from device-tree\n"); | 
| 675 | return -ENODEV; | 675 | return -ENODEV; | 
| 676 | } | 676 | } | 
| 677 | data = get_property(np, "cpuid", &len); | 677 | data = of_get_property(np, "cpuid", &len); | 
| 678 | if (data == NULL) { | 678 | if (data == NULL) { | 
| 679 | printk(KERN_ERR "therm_pm72: Failed to retrieve cpuid property from device-tree\n"); | 679 | printk(KERN_ERR "therm_pm72: Failed to retrieve cpuid property from device-tree\n"); | 
| 680 | of_node_put(np); | 680 | of_node_put(np); | 
| @@ -1337,7 +1337,7 @@ static int init_backside_state(struct backside_pid_state *state) | |||
| 1337 | */ | 1337 | */ | 
| 1338 | u3 = of_find_node_by_path("/u3@0,f8000000"); | 1338 | u3 = of_find_node_by_path("/u3@0,f8000000"); | 
| 1339 | if (u3 != NULL) { | 1339 | if (u3 != NULL) { | 
| 1340 | const u32 *vers = get_property(u3, "device-rev", NULL); | 1340 | const u32 *vers = of_get_property(u3, "device-rev", NULL); | 
| 1341 | if (vers) | 1341 | if (vers) | 
| 1342 | if (((*vers) & 0x3f) < 0x34) | 1342 | if (((*vers) & 0x3f) < 0x34) | 
| 1343 | u3h = 0; | 1343 | u3h = 0; | 
| @@ -2129,8 +2129,8 @@ static void fcu_lookup_fans(struct device_node *fcu_node) | |||
| 2129 | continue; | 2129 | continue; | 
| 2130 | 2130 | ||
| 2131 | /* Lookup for a matching location */ | 2131 | /* Lookup for a matching location */ | 
| 2132 | loc = get_property(np, "location", NULL); | 2132 | loc = of_get_property(np, "location", NULL); | 
| 2133 | reg = get_property(np, "reg", NULL); | 2133 | reg = of_get_property(np, "reg", NULL); | 
| 2134 | if (loc == NULL || reg == NULL) | 2134 | if (loc == NULL || reg == NULL) | 
| 2135 | continue; | 2135 | continue; | 
| 2136 | DBG(" matching location: %s, reg: 0x%08x\n", loc, *reg); | 2136 | DBG(" matching location: %s, reg: 0x%08x\n", loc, *reg); | 
