]> git.baikalelectronics.ru Git - kernel.git/commit
Driver core: fix devres_release_all() return value
authorAdrian Bunk <bunk@stusta.de>
Sun, 17 Jun 2007 23:42:54 +0000 (01:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:02 +0000 (16:09 -0700)
commit52305a171e7f563b37754a927786fc6d59cb9e02
tree96c94e51d3d26d8f8c9fbaf52d6fe1103cc1323d
parent845061e494987ae1edfaa88e54e8d82e7816039e
Driver core: fix devres_release_all() return value

Every file should include the headers containing the prototypes for
it's global functions.

Since the GNU C compiler is now able to detect that the function
prototype of devres_release_all() in the header and the actual function
disagree regarding the return value, this patch also fixes this bug.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/base.h
drivers/base/devres.c