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
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
windfarm_cpufreq_clamp.c
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
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
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