commit | 520b2756d9414cb6b0f6fc70714e95ee9248ebf4 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Mon Jun 13 13:39:02 2011 +0000 |
committer | David S. Miller <davem@conan.davemloft.net> | Wed Jun 15 11:11:58 2011 -0400 |
tree | 0f204d3e50a141d4dcdb7d678553225da7ec2d7a | |
parent | 221c56373ee7088dd3015b928782d5e70dc5074e [diff] |
tg3: Create funcs for power source switching The power source switching code is about to get a little more complex. This patch seeks to simplify future power source switching patches by clarifying the existing code. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@conan.davemloft.net>