Home
last modified time | relevance | path

Searched hist:"632691 ad83197227adc902793a2a3e10c04fe9b8" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/auxdisplay/
H A Darm-charlcd.cdiff 632691ad83197227adc902793a2a3e10c04fe9b8 Sun Jun 02 10:49:22 CEST 2024 Erick Archer <erick.archer@outlook.com> auxdisplay: Use sizeof(*pointer) instead of sizeof(type)

It is preferred to use sizeof(*pointer) instead of sizeof(type)
due to the type of the variable can change and one needs not
change the former (unlike the latter). This patch has no effect
on runtime behavior.

Signed-off-by: Erick Archer <erick.archer@outlook.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
H A Dhd44780.cdiff 632691ad83197227adc902793a2a3e10c04fe9b8 Sun Jun 02 10:49:22 CEST 2024 Erick Archer <erick.archer@outlook.com> auxdisplay: Use sizeof(*pointer) instead of sizeof(type)

It is preferred to use sizeof(*pointer) instead of sizeof(type)
due to the type of the variable can change and one needs not
change the former (unlike the latter). This patch has no effect
on runtime behavior.

Signed-off-by: Erick Archer <erick.archer@outlook.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>