diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-02-06 12:28:15 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-08 17:22:47 +0200 |
commit | 5cc898fbcb352b764f8d51c16e10e2eb0056173d (patch) | |
tree | 483fc39c4f465f8cfaadb5618b69803d4b19628b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ecde4936bf95f7df282e303abd6956be2ab62ef (diff) |
brcmfmac: modify __brcmf_err() to take bus as a parameter
So far __brcmf_err() was using pr_err() which didn't allow identifying
device that was affected by an error. It's crucial for systems with more
than 1 device supported by brcmfmac (a common case for home routers).
This change allows passing struct brcmf_bus to the __brcmf_err(). That
struct has been agreed to be the most common one. It allows accessing
struct device easily & using dev_err() printing helper.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions