]> git.baikalelectronics.ru Git - kernel.git/commit
clk: basic-types: Remove useless allocation failure printks
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 14 May 2015 23:47:10 +0000 (16:47 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 14 May 2015 23:51:50 +0000 (16:51 -0700)
commit059bdc941a328212e56bf0a0e319affdd29faf44
tree00ef798ecddddb591b20ef03214ace1b0a6bb3ef
parentb32c77b9c72e89ec2d23ee1593a38c5a9a01ce2c
clk: basic-types: Remove useless allocation failure printks

Printing an error on kmalloc() failures is unnecessary. Remove
the print and use *ptr in sizeof() for future-proof code.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-composite.c
drivers/clk/clk-divider.c
drivers/clk/clk-fixed-factor.c
drivers/clk/clk-fixed-rate.c
drivers/clk/clk-fractional-divider.c
drivers/clk/clk-gate.c