diff options
| author | Dan Carpenter <error27@gmail.com> | 2009-04-11 12:52:29 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-04-11 12:52:29 +0400 |
| commit | 57401d5e36d2966247e9c06b94f5133609c8da21 (patch) | |
| tree | be9f5df2f4fe924303d897a16e7af3b9cd75c422 /scripts/basic | |
| parent | 3384901f1b1af676ccb9d75aa23a568c294c527b (diff) | |
| download | linux-57401d5e36d2966247e9c06b94f5133609c8da21.tar.xz | |
phy: error handling for platform_device_register_simple()
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>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
