diff options
| author | Tomasz Unger <tomasz.unger@yahoo.pl> | 2026-02-19 15:29:42 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-23 15:43:56 +0100 |
| commit | 6edec96a66cac874e39e19c7f69ea042f90d7155 (patch) | |
| tree | 5c5781584f835d79f52637e2a599cc656b27a880 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b8077a5becb0a927337a07e6cde1da09a10cb5da (diff) | |
staging: fbtft: fb_tinylcd: replace udelay() with fsleep()
fsleep() is the preferred modern API for flexible sleeping as it
automatically selects the best sleep mechanism based on the duration.
Replace udelay() with fsleep() to improve power efficiency.
init_display() is a driver initialization callback which runs in
sleeping context, so fsleep() is safe to use here.
Signed-off-by: Tomasz Unger <tomasz.unger@yahoo.pl>
Acked-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Link: https://patch.msgid.link/20260219142942.74087-1-tomasz.unger@yahoo.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
