diff options
| author | Akinobu Mita <[email protected]> | 2006-11-25 11:09:35 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-11-25 13:28:34 -0800 |
| commit | 5e66b0b5f187c811419ff10cfb5668c028a64d57 (patch) | |
| tree | ae387b8f938272ad6fbee48b5794644c9da2e14c /include/linux/debugobjects.h | |
| parent | 753ca4f312a4b26940e4731b4fa5dbbbbcc77e97 (diff) | |
[PATCH] tlclk: fix platform_device_register_simple() error check
The return value of platform_device_register_simple() should be checked by
IS_ERR().
This patch also fix misc_register() error case. Because misc_register()
returns error code.
Cc: Sebastien Bouchard <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions