• Tony Lindgren's avatar
    n_gsm: Constify u8 and unsigned char usage · 4feb7a4a
    Tony Lindgren authored
    
    
    In order to prepare for adding serdev driver support, let's constify
    the use of u8 and unsigned char for n_gsm.
    
    Note that gsm_control_modem() gsm_control_rls() read the data for tty
    control characters and then call gsm_control_reply() that allocates a
    new reply and copies the data.
    
    Cc: linux-serial@vger.kernel.org
    Cc: Alan Cox <alan@llwyncelyn.cymru>
    Cc: Jiri Slaby <jslaby@suse.cz>
    Cc: Johan Hovold <johan@kernel.org>
    Cc: Peter Hurley <peter@hurleysoftware.com>
    Cc: Rob Herring <robh@kernel.org>
    Cc: Sebastian Reichel <sre@kernel.org>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Acked-by: default avatarPavel Machek <pavel@ucw.cz>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    4feb7a4a
n_gsm.c 78.4 KB