Re: [PATCH] memory: brcmstb: dpfe: Remove need for dpfe_dev

2018-03-28 Thread Florian Fainelli
On Tue, 27 Mar 2018 16:40:38 -0700, Florian Fainelli wrote: > 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 uniq

Re: [PATCH] memory: brcmstb: dpfe: Remove need for dpfe_dev

2018-03-27 Thread Markus Mayer
On 27 March 2018 at 16:40, Florian Fainelli wrote: > 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

[PATCH] memory: brcmstb: dpfe: Remove need for dpfe_dev

2018-03-27 Thread Florian Fainelli
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. Signed-off-by: Florian Fainelli ---