diff options
| author | Daniel Mack <[email protected]> | 2018-07-08 02:10:08 +0200 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2018-07-18 10:10:15 +0200 |
| commit | f9e64d61042575960ce868fa974d9dbe4937c59a (patch) | |
| tree | fa4e0e940ee2d14798844327768240f1d9f248ff /tools/perf/scripts/python | |
| parent | 7734a275a7eebf11878a923dc102908eff0f0657 (diff) | |
mtd: rawnand: marvell: set reg_clk to NULL if it can't be obtained
Don't keep an error-pointer around in the private struct. If this optional
clock can't be obtained, simply set the pointer to NULL instead so we can
use clk_prepare_enable() on it without further checks,
Signed-off-by: Daniel Mack <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions