usb: musb: use io{read,write}*_rep accessors
authorMatthew Leach <matthew@mattleach.net>
Mon, 17 Dec 2012 23:59:48 +0000 (15:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:13 +0000 (17:15 -0800)
commit2bf0a8f67fae9906c6497886203f6e5cb7168df6
treee7fd17be333288152cbc9887c876801bf8dcac19
parent56c82cdc36a836f564cf4ea09da16fd9297ab3b5
usb: musb: use io{read,write}*_rep accessors

The {read,write}s{b,w,l} operations are not defined by all architectures
and are being removed from the asm-generic/io.h interface.

This patch replaces the usage of these string functions in the musb
accessors with io{read,write}{8,16,32}_rep calls instead.

Signed-off-by: Matthew Leach <matthew@mattleach.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_io.h