OSDN Git Service

usb: musb: replace hard coded registers with defines
authorRoman Byshko <rbyshko@gmail.com>
Mon, 10 Nov 2014 20:53:32 +0000 (21:53 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 18 Nov 2014 15:35:12 +0000 (09:35 -0600)
commitc2365ce5d5a0531f24ee488bf846acda4ecbe2aa
treebddbe5ce5eb3c50794ebae1b43e6bc749121f2f2
parenta1fc1920aaaaeadc7cf9d80fc16e6b8eca722b44
usb: musb: replace hard coded registers with defines

musb registers can be dumped using the file regdump
which is created in debugfs. Up to now  hard coded
register addresses are used for that. Different glue
layers however have different register addresses. The
patch addresses this issue by substituting bare register
addresses with defines.

Signed-off-by: Roman Byshko <rbyshko@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_debugfs.c