Re: [PATCH 2/3] soc: brcmstb: dpfe: optimize generic_show()

2019-03-09 Thread Florian Fainelli
On Mon, 11 Feb 2019 17:24:42 -0800, Markus Mayer wrote: > From: Markus Mayer > > We can pass a (struct priv_data *) to generic_show() rather than a > (struct device *). For two of the three callers of this function, the > change means one less call to dev_get_drvdata(). For the third caller, > i

[PATCH 2/3] soc: brcmstb: dpfe: optimize generic_show()

2019-02-11 Thread Markus Mayer
From: Markus Mayer We can pass a (struct priv_data *) to generic_show() rather than a (struct device *). For two of the three callers of this function, the change means one less call to dev_get_drvdata(). For the third caller, it makes no difference. Signed-off-by: Markus Mayer --- drivers/mem