commit | 3b2f1fbec9218f24425eaaeedd4fd3e6ef3e9f44 | [log] [tgz] |
---|---|---|
author | Devendra Naga <develkernel412222@gmail.com> | Mon Aug 06 02:58:47 2012 +0545 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 13 19:15:49 2012 -0700 |
tree | 907f85da9d76fae660186e682f1e1d7bf1c70a24 | |
parent | cdf5e55124e4804fc0027df7e89567a3f5eed8bf [diff] |
staging/crystalhd: assign PTR_ERR at fail cases to rc in chd_dec_init_chdev the rc assignment to PTR_ERR at fail cases of class_create and device_create are missed out, return proper error rather than returning -ENODEV. Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>