clk: h8300: Drop allocation printk and cleanup sizeof style
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 13 Jul 2015 23:54:04 +0000 (16:54 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:51:36 +0000 (11:51 -0700)
commit9298f0267c7ed620f8d8261ded8518ebf8e89f9e
tree1801bfb0856105094773494761e8c142d39472fd
parent19aab273083fa10c2262b8c8e3315bacb054d75d
clk: h8300: Drop allocation printk and cleanup sizeof style

We don't need to print an error on allocation failures, drop it.
While we're here, change the sizeof() to be sizeof(*<ptr>) to
make code more future proof.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/h8300/clk-h8s2678.c