cbus: tahvo: pass child device pointer
authorFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 08:34:55 +0000 (11:34 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 17 Oct 2011 17:10:21 +0000 (10:10 -0700)
commit80ed560b58d944d3090c54e4e22507d364f8e1de
tree1d81a273847021ce47f6da2dbcef007c5662e983
parent2e3b86ebb93cff0f191cc8eac3cd27a7f356aa67
cbus: tahvo: pass child device pointer

on read/write register operations, if we pass
the child device pointer, it becomes really easy
to access our device structure. Let's do so.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/cbus/tahvo-usb.c
drivers/cbus/tahvo.c
drivers/cbus/tahvo.h