# \[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-aspeed
- Page: https://ratatoskr.run/linux-aspeed/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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20210625/99eb8b53/attachment.sig>
```
