diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-03-28 18:17:02 +0900 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-03-30 17:38:34 +0200 |
commit | aa9daa310dee3f86fa3a693fecd996a28d993cc6 (patch) | |
tree | f836446def30f338b71352a526834ad242e6ec70 /.cocciconfig | |
parent | e1ffaa551cfbc5fc86bb6f40d41adb5e5106ab6c (diff) | |
download | linux-aa9daa310dee3f86fa3a693fecd996a28d993cc6.tar.gz |
ARM: mmp: let clk_disable() return immediately if clk is NULL
In many of clk_disable() implementations, it is a no-op for a NULL
pointer input, but this is one of the exceptions.
Making it treewide consistent will allow clock consumers to call
clk_disable() without NULL pointer check.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions