# Re: \[PATCH v3 1/7\] i2c: i2c-core-smbus: Expose PEC calculate function for generic use

- From: Wolfram Sang \<wsa@kernel.org\>
- Date: 2021-06-25 15:04:46 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/06/1426143
- Thread: https://ratatoskr.run/linux-devicetree/2021/05/1383023/t.md

```text
On Wed, May 19, 2021 at 02:49:28PM +0700, Quan Nguyen wrote:
> Expose the PEC calculation i2c_smbus_pec() for generic use.
> 
> Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>

You are the second one who wanted this exported. I agree it makes sense
for slave drivers. So, I'll skip the required user because two are in
flight. Applied to for-next, thanks!

```
