# Re: \[PATCH 6/6\] i2c: Make remove callback return void

- From: Pavel Machek \<hidden\>
- Date: 2022-07-18 08:00:27 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/07/9222245
- Thread: https://ratatoskr.run/dri-devel/2022/06/9221097/t.md

```text
Hi!

> From: Uwe Kleine-König <redacted>
> 
> The value returned by an i2c driver's remove function is mostly ignored.
> (Only an error message is printed if the value is non-zero that the
> error is ignored.)
> 
> So change the prototype of the remove function to return no value. This
> way driver authors are not tempted to assume that passing an error to
> the upper layer is a good idea. All drivers are adapted accordingly.
> There is no intended change of behaviour, all callbacks were prepared to
> return 0 before.
> 
> Signed-off-by: Uwe Kleine-König <redacted>

2-4: Acked-by: Pavel Machek [ref]

Best regards,
							Pavel

-- 
People of Russia, stop Putin before his war on Ukraine escalates.
```

## Attachments

- [signature.asc](https://ratatoskr.run/linuxppc-dev/2022/07/9222245/attachment/0) (application/pgp-signature, 195 bytes)
