clk: max77686: Remove unnecessary NULL checking for container_of()
authorAxel Lin <axel.lin@ingics.com>
Tue, 18 Dec 2012 07:54:52 +0000 (15:54 +0800)
committerMike Turquette <mturquette@linaro.org>
Wed, 16 Jan 2013 00:16:23 +0000 (16:16 -0800)
commit3fe296cf5a66a82bc9077865b89075ce813f7f5d
treec2da0ea7d073f23fef070ff3936a7ac20fff1fa9
parentbddca8944a7ab6699984c4b1b677261eb1c8d819
clk: max77686: Remove unnecessary NULL checking for container_of()

container_of() never returns NULL, thus remove the NULL checking for it.
Also rename get_max77686_clk() to to_max77686_clk() for better readability.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-max77686.c