+3
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
platform_device_register_simple() returns ERR_PTR() and not NULL. Found by smatch (http://repo.or.cz/w/smatch.git ). Compile tested. Signed-off-by:Dan Carpenter <error27@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>