]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: mt7603: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 27 Aug 2019 13:44:45 +0000 (21:44 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 16:14:13 +0000 (18:14 +0200)
commit4c49c099472c2430c5bf83a26410460dac1b03e5
tree057d7631b9c7f794f7abfdd8a66089fa87f61d67
parent0c168e1084da984e26b5e04c45bcfe8270b69e93
mt76: mt7603: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/soc.c