i2c: Make the return type of i2c_del_mux_adapter() void
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 9 Mar 2013 08:16:49 +0000 (08:16 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 2 Apr 2013 05:07:32 +0000 (07:07 +0200)
i2c_del_mux_adapter always returns 0 and none of it current users check its
return value anyway. It is also an essential requirement of the Linux device
driver model, that functions which may be called from a device's remove callback
to free resources provided by the device, are not allowed to fail. This is the
case for i2c_del_mux_adapter(), so make its return type void to make the
fact that it won't fail explicit.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

No differences found