aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2006-12-10 21:21:33 +0100
committerJean Delvare <[email protected]>2006-12-10 21:21:33 +0100
commit3bacb36db01c7541ffea21d4ff39219e8b211a5c (patch)
tree52d89e1c11c22e75aabe37c5bbeeb6800e0e247c /include/linux/debugobjects.h
parent250d1bd3f4ed0b50d79b3ec81ccefbabb203f916 (diff)
i2c: Fix return value check in i2c-dev
device_create() returns error code as pointer on failures. This patch checks the return value of device_create() by using IS_ERR(). Signed-off-by: Akinobu Mita <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions