]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Make i2c_del_driver a void function
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:32 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:32 +0000 (23:26 +0200)
commit164a8ddd79499aaf70fb7545f50e4430043647b7
tree84e5ae3275cea6fa5074b0c9b08eaada55f02bea
parent9712225c98f925bfe48ebb74ad43ad66d700e340
i2c: Make i2c_del_driver a void function

Make i2c_del_driver a void function, like all other driver removal
functions. It always returned 0 even when errors occured, and nobody
ever actually checked the return value anyway. And we cannot fail
a module removal anyway.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/writing-clients
drivers/i2c/i2c-core.c
drivers/macintosh/therm_windtunnel.c
include/linux/i2c.h