staging/gdm72xx: return PTR_ERR rather -ENOENT
authorDevendra Naga <devendra.aaru@gmail.com>
Thu, 12 Jul 2012 06:11:11 +0000 (11:56 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 01:53:47 +0000 (18:53 -0700)
commitd67030d215ac1ec13cab16467904c2a7265e1fbd
tree52ac22794b1dbb808e0afe323a88f4f7a9edc6de
parenta6e28b34205be389068cd08238e1368443f31b8b
staging/gdm72xx: return PTR_ERR rather -ENOENT

return the error of filp_open rather returning -ENOENT.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/usb_boot.c