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 /block/blk-stat.c | |
parent | 7ccd2ffce0d4a180172c984ca7266d056d6d4b11 (diff) | |
download | linux-900c8f578be2032e46dd936684838aa59cd5a477.tar.gz |
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 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions