Re: [PATCH 2/3] soc: brcmstb: dpfe: optimize generic_show()
From: Florian Fainelli
Date: Sat Mar 09 2019 - 17:03:38 EST
On Mon, 11 Feb 2019 17:24:42 -0800, Markus Mayer <code@xxxxxxxxxx> wrote:
> From: Markus Mayer <mmayer@xxxxxxxxxxxx>
> 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 <mmayer@xxxxxxxxxxxx>
Applied to drivers/next, thanks!