]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 20 Apr 2017 05:34:54 +0000 (07:34 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 22 Apr 2017 02:44:54 +0000 (19:44 -0700)
commit56f2150a841ca0915d43e7b9033a4557bc829cc0
tree53fff45f1ddfbacb79c9824d72810d090ee7a57a
parent9a78b16972fba06bc8d303282a6b96f5061fd16a
clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()

The script "checkpatch.pl" pointed information out like the following.

* CHECK: Comparison to NULL could be written "!drvdata"

  Thus adjust this expression.

* WARNING: Possible unnecessary 'out of memory' message

  Thus remove such a statement here.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-si5351.c