diff options
author | Phil Edworthy <[email protected]> | 2022-05-12 19:50:33 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-05-16 18:34:38 +0200 |
commit | 5794465b6fcfbaed304c8ebe8990f858eb2ed9a2 (patch) | |
tree | 2d988766bace2e1dcba8594f63ffe1be3986a33c /scripts/gdb | |
parent | 6879854d16341ab67d61580fa988ad1b7e7cc040 (diff) |
mtd: rawnand: mpc5121: Check before clk_disable_unprepare() not needed
All code in clk_disable_unprepare() already checks the clk ptr using
IS_ERR_OR_NULL so there is no need to check it again before calling it.
A lot of other drivers already rely on this behaviour, so it's safe
to do so here.
Signed-off-by: Phil Edworthy <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions