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)
commitd122db7e86669244759226bfdd2b9d623d5c6ae8
tree00ef798ecddddb591b20ef03214ace1b0a6bb3ef
parente0cdcda508f110b7ec190dc7c5eb2869ba73a535
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