summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-s3c2410.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-03-09 09:16:49 +0100
committerWolfram Sang <wsa@the-dreams.de>2013-04-02 07:07:32 +0200
commit51d95709dddf7fdf6769a547de37a9c98edf8df9 (patch)
tree579dc916a198211c7ec934dfc7adba1b68334d42 /drivers/i2c/busses/i2c-s3c2410.c
parenti2c: Ignore the return value of i2c_del_mux_adapter() (diff)
downloadlinux-51d95709dddf7fdf6769a547de37a9c98edf8df9.tar.xz
linux-51d95709dddf7fdf6769a547de37a9c98edf8df9.zip
i2c: Make the return type of i2c_del_mux_adapter() void
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
0 files changed, 0 insertions, 0 deletions