memory: brcmstb: dpfe: Remove need for dpfe_dev
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 27 Mar 2018 23:40:38 +0000 (16:40 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 9 May 2018 19:15:26 +0000 (12:15 -0700)
commitb1d0973e9a1b4742ec80f3cf59ecc84a0998465b
tree8a297620e6d29da78786614b73b7c18a1f4a808f
parent60cc43fc888428bb2f18f08997432d426a243338
memory: brcmstb: dpfe: Remove need for dpfe_dev

We can hook sysfs objects to the parent platform device that we are
created from, no need to have a synthetic dpfe_dev just for that. This
incidentally removes the need for having an index, since we are
guaranteed to have an unique path in the sysfs hiearchy.

Acked-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/memory/brcmstb_dpfe.c