cbus: pass device as argument
authorFelipe Balbi <balbi@ti.com>
Mon, 13 Jun 2011 19:40:58 +0000 (19:40 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Jun 2011 08:03:46 +0000 (01:03 -0700)
that way we can fetch struct cbus_host
via dev_get_platform_data(child->parent).

This also allows us to remove the static
global variable holding cbus_host pointer.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found