diff options
author | Jamie Iles <[email protected]> | 2011-01-11 12:43:43 +0000 |
---|---|---|
committer | Paul Mundt <[email protected]> | 2011-01-12 15:00:32 +0900 |
commit | ec03031707a348578c6ded277e5d92eb21de4fce (patch) | |
tree | 4adf97316956eb4b48235c12f7dbaebd76ea97e3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0b2e9cb42cd0b5b0c95a776e30c9ecdff16587ea (diff) |
nuc900fb: don't treat NULL clk as an error
clk_get() returns a struct clk cookie to the driver and some platforms
may return NULL if they only support a single clock. clk_get() has only
failed if it returns a ERR_PTR() encoded pointer.
Cc: [email protected]
Signed-off-by: Jamie Iles <[email protected]>
Acked-by: Wan ZongShun <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions