cbus: retu: headset: don't save pdev pointer
authorFelipe Balbi <balbi@ti.com>
Mon, 14 Feb 2011 18:09:14 +0000 (20:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Feb 2011 19:38:28 +0000 (21:38 +0200)
commit806faf58a9c84b242296de9440e55fdd905380c7
tree6a2dd7b8a9929b946459f5dbc07b1ddf7008ec3a
parent1c1e8732bf2884b90b438f34881271a9af47a3af
cbus: retu: headset: don't save pdev pointer

... and save instead a device pointer. Generally
we only need a device pointer as we don't need
to poke with the platform_device that often and
if we do, we can always to_platform_device(dev).

Drop the pdev from the headset structure and
save dev instead.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/cbus/retu-headset.c