diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2011-09-30 07:07:30 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 13:38:38 -0400 |
commit | 12158f4280b4d42ef03b70a47d11b48dd8aad511 (patch) | |
tree | 7a0dc943e44459eba3e517b539d4f991415223f3 /drivers/usb/gadget/r8a66597-udc.h | |
parent | 5c481a639068ac34bd1dcd183f37b7a65d0e3841 (diff) |
usb: gadget: r8a66597-udc: use dev_*() instead of printk()
This patch also fix the balance of braces.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/r8a66597-udc.h')
-rw-r--r-- | drivers/usb/gadget/r8a66597-udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.h b/drivers/usb/gadget/r8a66597-udc.h index f9ac2d713c57..832ee59c8e45 100644 --- a/drivers/usb/gadget/r8a66597-udc.h +++ b/drivers/usb/gadget/r8a66597-udc.h | |||
@@ -114,6 +114,7 @@ struct r8a66597 { | |||
114 | #define gadget_to_r8a66597(_gadget) \ | 114 | #define gadget_to_r8a66597(_gadget) \ |
115 | container_of(_gadget, struct r8a66597, gadget) | 115 | container_of(_gadget, struct r8a66597, gadget) |
116 | #define r8a66597_to_gadget(r8a66597) (&r8a66597->gadget) | 116 | #define r8a66597_to_gadget(r8a66597) (&r8a66597->gadget) |
117 | #define r8a66597_to_dev(r8a66597) (r8a66597->gadget.dev.parent) | ||
117 | 118 | ||
118 | static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) | 119 | static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) |
119 | { | 120 | { |