ACPICA: exserial.c: replace ternary operator with ACPI_MIN()
authorJiangshan Yi <yijiangshan@kylinos.cn>
Thu, 20 Apr 2023 07:42:47 +0000 (15:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Jul 2023 13:21:03 +0000 (15:21 +0200)
commitbac36a179a2b4163fa524de806afb04d639b6781
tree02e6699a98e11a06247013608233390232d98401
parent4f1094baeb14ef150b964eb1537ea71099ff7da0
ACPICA: exserial.c: replace ternary operator with ACPI_MIN()

ACPICA commit 2250f71fe77396db21df805222ffcbf19e1e7896

Make the code simpler and more readable.

Link: https://github.com/acpica/acpica/commit/2250f71f
Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/exserial.c