USB: rename usb_buffer_alloc() and usb_buffer_free()
authorDaniel Mack <daniel@caiaq.de>
Mon, 12 Apr 2010 11:17:25 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 16:25:12 +0000 (09:25 -0700)
commit073900a28d95c75a706bf40ebf092ea048c7b236
tree01e8bb7856ebf1e989a1eb693704435fc4032118
parent75181f386f9a80ed6f87763ac6cf05826e253ccd
USB: rename usb_buffer_alloc() and usb_buffer_free()

For more clearance what the functions actually do,

  usb_buffer_alloc() is renamed to usb_alloc_coherent()
  usb_buffer_free()  is renamed to usb_free_coherent()

They should only be used in code which really needs DMA coherency.

[added compatibility macros so we can convert things easier - gregkh]

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Pedro Ribeiro <pedrib@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c
include/linux/usb.h