commit | 900c8f578be2032e46dd936684838aa59cd5a477 | [log] [tgz] |
---|---|---|
author | Markus Mayer <mmayer@broadcom.com> | Mon Feb 11 17:24:42 2019 -0800 |
committer | Florian Fainelli <f.fainelli@gmail.com> | Mon May 20 09:32:35 2019 -0700 |
tree | 7b188d721601a1b16574402ad9cae59925ab7c52 | |
parent | 7ccd2ffce0d4a180172c984ca7266d056d6d4b11 [diff] |
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>