net/can/mpc52xx_can: refactor clock-get routine
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 16 Nov 2009 12:57:50 +0000 (12:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Nov 2009 11:54:03 +0000 (03:54 -0800)
commit3f158c253214bb783e7072f6848b61c1999631e7
treedd0cb414b696df9c6a65d302621f142c44389708
parent68bd7422a2e07a4e5502137cd4bddb8c2774a912
net/can/mpc52xx_can: refactor clock-get routine

Merge two functions into one. The result is smaller as they can now share some
variables.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/mscan/mpc52xx_can.c