commit | bb2b40754ff4b2fffd8015ac96c45269cb54ee79 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sat Jan 17 22:14:41 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 25 13:40:31 2015 +0100 |
tree | fc90bd5c3971490ff783ffbb1e2c07f997307301 | |
parent | ba61af6f3e4766c76aec0b5e7f2bb8277e1acdd0 [diff] |
driver core: use *switch* statement in really_probe() There are series of comparisons of the 'ret' variable on the failure path of really_probe(), so the *switch* statement seems more appropriate there. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>