mt76: mt7915: convert to use le16_add_cpu()
authorLiu Shixin <liushixin2@huawei.com>
Mon, 14 Sep 2020 04:17:50 +0000 (12:17 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:20 +0000 (18:10 +0200)
commit59283d0987783f3d1dd9a7b0a1f2527a424c7a6b
tree8840a271d7d8dba2b6db3d965529ac43623c3d31
parent00257508a2dcc3641b31112a238de60f4010d875
mt76: mt7915: convert to use le16_add_cpu()

Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c