From: Bjorn Helgaas Date: Wed, 22 Mar 2006 07:20:28 +0000 (-0800) Subject: [PATCH] macintosh: tidy-up driver_register() return values X-Git-Tag: v2.6.17-rc1~1117^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d56a3e380085bf45cc2adba80c4e6490ba644231;p=pandora-kernel.git [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 Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed