summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-08-22 16:45:54 +0200
committerAndi Shyti <andi.shyti@kernel.org>2024-09-10 00:36:43 +0200
commit71dacb2565ed9d2839adb8e2a80ef30185c29035 (patch)
tree309fac96e22e8ce8b31c576f56391ee8a5380d1d /tools/perf/scripts/python/export-to-sqlite.py
parentbc07fb417007b323d34651be20b9135480a947dc (diff)
i2c: riic: Simplify unsupported bus speed handling
Simplify checking for unsupported bus speeds and reporting errors by factoring out the calculation of the maximum bus speed, and by using the dev_err_probe() helper. While at it, use "%u" for u32, and improve the error message. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions