net/smsc911x: Provide common clock functionality
authorLee Jones <lee.jones@linaro.org>
Wed, 19 Dec 2012 17:03:48 +0000 (17:03 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Mar 2013 22:23:20 +0000 (23:23 +0100)
commitb6c230196f07b9cdd23ceb899070076cdab0c467
treed066263d037076351eac05b308a9fb910b539d32
parent1e6b6801405ec578c8607e9dabcc4e946ea64f4c
net/smsc911x: Provide common clock functionality

Some platforms provide clocks which require enabling before the
SMSC911x chip will power on. This patch uses the new common clk
framework to do just that. If no clock is provided, it will just
be ignored and the driver will continue to assume that no clock
is required for the chip to run successfully.

Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/net/ethernet/smsc/smsc911x.c