diff options
author | Markus Mayer <mmayer@broadcom.com> | 2019-02-11 17:24:42 -0800 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2019-05-20 09:32:35 -0700 |
commit | 900c8f578be2032e46dd936684838aa59cd5a477 (patch) | |
tree | 7b188d721601a1b16574402ad9cae59925ab7c52 /net | |
parent | memory: brcmstb: dpfe: use msleep() over udelay() (diff) | |
download | linux-dev-900c8f578be2032e46dd936684838aa59cd5a477.tar.xz linux-dev-900c8f578be2032e46dd936684838aa59cd5a477.zip |
memory: brcmstb: dpfe: optimize generic_show()
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@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions