]> git.baikalelectronics.ru Git - kernel.git/commit
auxdisplay: charlcd: Drop unneeded initializers and switch to C99 style
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Jul 2021 14:41:52 +0000 (17:41 +0300)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 16 Jul 2021 05:42:35 +0000 (07:42 +0200)
commit5344b5de9020bed9f8ff72db1f83ebab556b7d46
treea70d7c3245fd748f3098e61c08dc6277ccd9cd23
parent16c3a9bf45c4d6088abc463ee7b265be93700ebd
auxdisplay: charlcd: Drop unneeded initializers and switch to C99 style

For structure initializers the fields are 0 (or NULL) by default, so
there is no need to fill them explicitly. Besides that, much easier
to read when initializers use C99 style. Hence, convert to C99 style
as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/charlcd.c