can: peak_usb: convert to use le32_add_cpu()
authorLiu Shixin <liushixin2@huawei.com>
Mon, 14 Sep 2020 04:17:44 +0000 (12:17 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:18 +0000 (10:13 +0200)
commitbd412492465c5d29f3e9de01c7efdcc0b3c7c69d
treed9edd5a3b7509682bf68fb76fac69b8d43585dcb
parent0cf38586c2162a67edd50c7c1f346a6b56718607
can: peak_usb: convert to use le32_add_cpu()

Convert cpu_to_le32(le32_to_cpu(E1) + E2) to use le32_add_cpu().

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20200914041744.3701840-1-liushixin2@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_pro.c