summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-pr-ip-core-plat.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-09-27 13:18:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-30 14:58:45 +0200
commited9bf4aea06e36bbb3482e01061c433d703bcaff (patch)
tree08d04b30eb20e2cb77fb954604ce6edd39ee5ec8 /drivers/fpga/altera-pr-ip-core-plat.c
parentd8544c9c7cf77100be9340c61a9e3e88fe4bb12c (diff)
downloadlinux-ed9bf4aea06e36bbb3482e01061c433d703bcaff.tar.bz2
tty: serial: use FIELD_GET() in lqasc_tx_ready()
FIELD_GET() can do the job smarter and more readable. We don't even need ASCFSTAT_TXFREEOFF. So switch to the former and remove the latter. Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20220927111819.18516-2-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/altera-pr-ip-core-plat.c')
0 files changed, 0 insertions, 0 deletions