diff options
author | 2024-08-22 16:45:54 +0200 | |
---|---|---|
committer | 2024-09-10 00:36:43 +0200 | |
commit | 71dacb2565ed9d2839adb8e2a80ef30185c29035 (patch) | |
tree | 309fac96e22e8ce8b31c576f56391ee8a5380d1d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: designware: Remove ->disable() callback (diff) | |
download | wireguard-linux-71dacb2565ed9d2839adb8e2a80ef30185c29035.tar.xz wireguard-linux-71dacb2565ed9d2839adb8e2a80ef30185c29035.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions