DaVinci: rename setup_usb() to davinci_setup_usb()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 30 Oct 2009 19:46:14 +0000 (23:46 +0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:33 +0000 (10:21 -0800)
commit355fb4e3ea590976819c03070bf2c9491aede258
tree8119acc8e15ec41f0ac11f93d5ffc944a7af8d63
parent990c09d5f5b2079e8bf3c6615c78fa5ed2b97147
DaVinci: rename setup_usb() to davinci_setup_usb()

Rename setup_usb() into davinci_setup_usb().  While at it:

- move its declaration from <mach/common.h> to more fitting <mach/usb.h>;
- teach it to handle values of the 'mA' parameter greater than 510 and thus
  pass 1000 instead of 500 for the power switches capable of sourcing over 1 A;
- teach it to handle odd values of the 'potpgt_ms' parameter...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-dm355-evm.c
arch/arm/mach-davinci/board-dm355-leopard.c
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/board-sffsdr.c
arch/arm/mach-davinci/include/mach/common.h
arch/arm/mach-davinci/include/mach/usb.h
arch/arm/mach-davinci/usb.c