diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-03-27 03:06:37 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-04-30 22:51:50 +0400 |
commit | 63589e92c2d975cc63222e5bd4a9a1fa2a1187ac (patch) | |
tree | c534ea7df24e67a08b94f86cf99e8ce437c7f9af /drivers/pcmcia/vrc4171_card.c | |
parent | 8f2c2db132cf5f4ffb4b9702ddb7e6bc5a343814 (diff) | |
download | linux-63589e92c2d975cc63222e5bd4a9a1fa2a1187ac.tar.xz |
clk: Ignore error and NULL pointers passed to clk_{unprepare, disable}()
This simplifies error paths in drivers that use optional clocks
by allowing the NULL or error pointer to be passed
unconditionally.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/pcmcia/vrc4171_card.c')
0 files changed, 0 insertions, 0 deletions