android_kernel_xiaomi_sm8350/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
..
adb-iop.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
adb.c
adbhid.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
ans-lcd.c
apm_emu.c [PATCH] ppc64: AC Power handling broken for desktops 2005-10-29 15:11:48 +10:00
Kconfig ppc: fix up trivial Kconfig config selection 2006-02-08 07:51:17 -08:00
mac_hid.c
macio_asic.c [PATCH] macintosh: tidy-up driver_register() return values 2006-03-23 14:41:04 +11:00
macio_sysfs.c
macio-adb.c [PATCH] powerpc: macio-adb build fix 2006-01-14 13:19:18 +11:00
Makefile [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
mediabay.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
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 Merge ../torvalds-2.6/ 2006-01-06 12:59:59 -08:00
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 [PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed 2006-01-05 22:16:25 -08:00
via-cuda.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
via-macii.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-maciisi.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-pmu68k.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-pmu.c [PATCH] powerpc: via-pmu warning fix 2006-03-23 14:40:43 +11:00
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 [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm81.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm91.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
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 [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_smu_sat.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_smu_sensors.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00