diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-01-17 22:14:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-25 13:40:31 +0100 |
commit | bb2b40754ff4b2fffd8015ac96c45269cb54ee79 (patch) | |
tree | fc90bd5c3971490ff783ffbb1e2c07f997307301 /drivers/base/bus.c | |
parent | ba61af6f3e4766c76aec0b5e7f2bb8277e1acdd0 (diff) | |
download | linux-bb2b40754ff4b2fffd8015ac96c45269cb54ee79.tar.bz2 |
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>
Diffstat (limited to 'drivers/base/bus.c')
0 files changed, 0 insertions, 0 deletions