diff options
| author | 2013-06-04 02:46:20 +0530 | |
|---|---|---|
| committer | 2013-06-05 15:25:41 -0700 | |
| commit | 55fa328aecb1daf9134278b0eb660502627bf60e (patch) | |
| tree | 4832f9f128c6f91d7b986784e5291d74947072e6 /include/linux/debugobjects.h | |
| parent | staging: octeon-usb: fix more checkpatch errors/warns (diff) | |
staging: octeon-usb: check return value of platform_device_register_simple
the return value is a pointer having an error set. we have to check for
IS_ERR and return PTR_ERR when appropriate
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: David Daney <ddaney.cavm@gmail.com>
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
