diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-02 20:43:29 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2021-04-02 12:53:28 -0500 |
commit | 649a7d46d0840fc44d181cc6b3e608b46c77a86d (patch) | |
tree | 34fedf6fef84d1316ed46abe53fe734d62a97e8d /drivers/tty/tty_io.c | |
parent | bd7a33bfa1f1d0295058003899568570a7de0998 (diff) |
ipmi_si: Introduce ipmi_panic_event_str[] array
Instead of repeating twice the constant literals, introduce
ipmi_panic_event_str[] array. It allows to simplify the code
with help of match_string() API.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Message-Id: <20210402174334.13466-6-andriy.shevchenko@linux.intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/tty/tty_io.c')
0 files changed, 0 insertions, 0 deletions