staging: fbtft: Replace custom ->reset() with generic one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 May 2021 17:21:13 +0000 (20:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:39 +0000 (11:19 +0200)
commit982192e2a1b3152d4ccc4483d1967d3ca672ad7d
tree97af5ea7159a708f7b7a56818f1139a0f878d350
parentfd4c5961d8193a5bc3e7f8d5f94c9b469c037394
staging: fbtft: Replace custom ->reset() with generic one

The custom ->reset() repeats the generic one, replace it.

Note, in newer kernels the context of the function is a sleeping one,
it's fine to switch over to the sleeping functions. Keeping the reset
line asserted longer than 20 microseconds is also okay, it's an idling
state of the hardware.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210503172114.27891-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_agm1264k-fl.c