diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-09-08 13:31:37 +0300 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-09-26 17:02:49 +0530 |
commit | c1c7acac0998ffcc9cd81e016a7d1b58b1afbb51 (patch) | |
tree | 7969e591a3890162246a8738225bfaca90de4cb1 /arch/sh | |
parent | 17fb745d4acfe52f9ebb1ba2b10f2fcd796fb5ce (diff) | |
download | linux-stable-c1c7acac0998ffcc9cd81e016a7d1b58b1afbb51.tar.gz linux-stable-c1c7acac0998ffcc9cd81e016a7d1b58b1afbb51.tar.bz2 linux-stable-c1c7acac0998ffcc9cd81e016a7d1b58b1afbb51.zip |
phy: mvebu-cp110: checking for NULL instead of IS_ERR()
devm_ioremap_resource() never returns NULL, it only returns error
pointers so this test needs to be changed.
Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions