commit | c1c7acac0998ffcc9cd81e016a7d1b58b1afbb51 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Sep 08 13:31:37 2017 +0300 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Tue Sep 26 17:02:49 2017 +0530 |
tree | 7969e591a3890162246a8738225bfaca90de4cb1 | |
parent | 17fb745d4acfe52f9ebb1ba2b10f2fcd796fb5ce [diff] |
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>