linux-stable-rt/drivers/macintosh
Bjorn Helgaas d56a3e3800 [PATCH] macintosh: tidy-up driver_register() return values
Remove the assumption that driver_register() returns the number of devices
bound to the driver.  In fact, it returns zero for success or a negative
error value.

All callers of macio_register_driver() either ignore the return value or
return it as the return value of a module_init() function.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-23 14:41:04 +11:00
..
Kconfig ppc: fix up trivial Kconfig config selection 2006-02-08 07:51:17 -08:00
Makefile
adb-iop.c
adb.c
adbhid.c
ans-lcd.c
apm_emu.c
mac_hid.c
macio-adb.c
macio_asic.c [PATCH] macintosh: tidy-up driver_register() return values 2006-03-23 14:41:04 +11:00
macio_sysfs.c
mediabay.c
nvram.c
smu.c [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values 2006-03-23 14:40:54 +11:00
therm_adt746x.c
therm_pm72.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
therm_pm72.h
therm_windtunnel.c
via-cuda.c
via-macii.c
via-maciisi.c
via-pmu.c [PATCH] powerpc: via-pmu warning fix 2006-03-23 14:40:43 +11:00
via-pmu68k.c
windfarm.h
windfarm_core.c [PATCH] powerpc: Fix old g5 issues with windfarm 2006-03-03 21:43:53 +11:00
windfarm_cpufreq_clamp.c [PATCH] powerpc: Fix old g5 issues with windfarm 2006-03-03 21:43:53 +11:00
windfarm_lm75_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_max6690_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_pid.c [PATCH] windfarm license fix 2006-03-06 18:40:45 -08:00
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c [PATCH] powerpc: Fix windfarm_pm112 not starting all control loops 2006-03-03 21:44:06 +11:00
windfarm_smu_controls.c
windfarm_smu_sat.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_smu_sensors.c