ipmi_si: Use strstrip() to remove surrounding spaces
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Apr 2021 17:43:32 +0000 (20:43 +0300)
committerCorey Minyard <cminyard@mvista.com>
Fri, 2 Apr 2021 17:53:36 +0000 (12:53 -0500)
commitd14ce8c7708766a75fcb0ceca69cabcadfad9e43
tree50e5523fee13701e096945108f7772483e1ba811
parent2dafddb8829fdc8969c2aad9fc6852419102d7fa
ipmi_si: Use strstrip() to remove surrounding spaces

Instead of home grown analogue, use strstrip() from the kernel library.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Message-Id: <20210402174334.13466-9-andriy.shevchenko@linux.intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_hotmod.c