Wei YongjunandFelix Fietkau 0b927b26d2 mt76: fix return value check in mt76_wmac_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: c8846e101502 ("mt76: add driver for MT7603E and MT7628/7688")
Signed-off-by: Wei Yongjun <[email protected]>
2019-03-04 09:03:41 +01:00
2019-02-26 12:26:02 +01:00
2015-12-13 17:54:16 +01:00
2019-03-01 13:00:31 +01:00
2019-02-26 12:26:02 +01:00
2019-03-01 13:00:31 +01:00
2018-10-23 11:14:20 +02:00
2016-09-04 17:33:28 +02:00
2018-10-23 09:49:40 +02:00
2019-03-01 13:00:31 +01:00
2019-01-11 15:24:32 +01:00
2016-09-04 18:06:48 +02:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%