tmp_suning_uos_patched/drivers/auxdisplay
Jia-Ju Bai 171613926a auxdisplay: charlcd: delete mdelay in long_sleep
The function long_sleep() calls mdelay() when in an interrupt handler.
But only charlcd_clear_display() and charlcd_init_display calls
long_sleep(), and my tool finds that the two functions
are never called in an interrupt handler.
Thus mdelay() and in_interrupt() are not necessary.

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
2018-08-01 18:55:36 +02:00
..
arm-charlcd.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
cfag12864b.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
cfag12864bfb.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
charlcd.c auxdisplay: charlcd: delete mdelay in long_sleep 2018-08-01 18:55:36 +02:00
hd44780.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
ht16k33.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Silence 2 uninitialized warnings 2018-03-13 18:16:38 +01:00
Kconfig auxdisplay: make PANEL a menuconfig 2018-04-12 19:02:45 +02:00
ks0108.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
panel.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00