diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2006-03-22 02:20:28 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-22 22:41:04 -0500 |
commit | d56a3e380085bf45cc2adba80c4e6490ba644231 (patch) | |
tree | f5eba0a77b9b1f4bf7f28952b653467cf1f523af /include/asm-alpha/tlbflush.h | |
parent | 6ea671a12f66b9d4d0f35fce957a71a6849295f2 (diff) |
[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>
Diffstat (limited to 'include/asm-alpha/tlbflush.h')
0 files changed, 0 insertions, 0 deletions