]> git.baikalelectronics.ru Git - kernel.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)
commit7e2883e3bcea2eb5a30119783860dae273e8520a
tree53fff45f1ddfbacb79c9824d72810d090ee7a57a
parent9be0fd431f262f8138184f74f2249d931b510a20
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