summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAkinobu Mita2006-11-25 20:09:35 +0100
committerLinus Torvalds2006-11-25 22:28:34 +0100
commit5e66b0b5f187c811419ff10cfb5668c028a64d57 (patch)
treeae387b8f938272ad6fbee48b5794644c9da2e14c /usr
parent[PATCH] fix copy_process() error check (diff)
downloadkernel-qcow2-linux-5e66b0b5f187c811419ff10cfb5668c028a64d57.tar.gz
kernel-qcow2-linux-5e66b0b5f187c811419ff10cfb5668c028a64d57.tar.xz
kernel-qcow2-linux-5e66b0b5f187c811419ff10cfb5668c028a64d57.zip
[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 <sebastien.bouchard@ca.kontron.com> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions