]> Git Repo - linux.git/commit
net/stmmac: remove conditional compilation of clk code
authorViresh Kumar <[email protected]>
Mon, 30 Jul 2012 21:39:41 +0000 (14:39 -0700)
committerLinus Torvalds <[email protected]>
Tue, 31 Jul 2012 00:25:12 +0000 (17:25 -0700)
commit6a81c26f868b2fc5f88b9f78a6f82aeab1191e61
tree2b800023f0401613a856650adcdaf5c3d85f5638
parent2b1463ddde35a720de2fb4013057396e7f8011f0
net/stmmac: remove conditional compilation of clk code

With addition of dummy clk_*() calls for non CONFIG_HAVE_CLK cases in
clk.h, there is no need to have clk code enclosed in #ifdef
CONFIG_HAVE_CLK, #endif macros.

This also fixes error paths of probe(), as a goto is required in this
patch.

Signed-off-by: Viresh Kumar <[email protected]>
Cc: Giuseppe Cavallaro <[email protected]>
Acked-by: David S. Miller <[email protected]>
Cc: Russell King <[email protected]>
Cc: Mike Turquette <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Cc: viresh kumar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
This page took 0.0592009999999999 seconds and 4 git commands to generate.