Commit ac8c8fa0 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Miguel Ojeda

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 333ff32d
...@@ -637,9 +637,7 @@ static int panel_notify_sys(struct notifier_block *this, unsigned long code, ...@@ -637,9 +637,7 @@ static int panel_notify_sys(struct notifier_block *this, unsigned long code,
} }
static struct notifier_block panel_notifier = { static struct notifier_block panel_notifier = {
panel_notify_sys, .notifier_call = panel_notify_sys,
NULL,
0
}; };
int charlcd_register(struct charlcd *lcd) int charlcd_register(struct charlcd *lcd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment