]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71c0b8367600fda324c5854137adf54dae55782f
treed9edd5a3b7509682bf68fb76fac69b8d43585dcb
parent7b874e58c7c0af3882ca0a89bf7ff1dabc8de74c
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