• Russell King's avatar
    [SERIAL] Clean up serial_core.c write functions. · c1d0b9d9
    Russell King authored
    Since the tty layer now takes care of user space writes,
    __uart_user_write() and associated temporary buffer and temporary
    buffer semaphore have all become unnecessary.  There's also little
    point in having __uart_kern_write() separate from uart_write(), so
    combine the two together.
    
    Adrian Bunk kindly provided the patch to remove __uart_user_write().
    The rest of the work is rmk's.
    
    Signed-off-by: Adrian Bunk
    Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
    c1d0b9d9
serial_core.c 56.9 KB