Commit b236972
clk: Simplify clk_is_match()
Linux style is to handle early-on failure. Inverting the first
condition lets us simplify the second, and improves readability.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>1 parent 5d6c477 commit b236972
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3259 | 3259 | | |
3260 | 3260 | | |
3261 | 3261 | | |
3262 | | - | |
3263 | | - | |
3264 | | - | |
| 3262 | + | |
| 3263 | + | |
3265 | 3264 | | |
3266 | | - | |
| 3265 | + | |
3267 | 3266 | | |
3268 | 3267 | | |
3269 | 3268 | | |
| |||
0 commit comments