mirror of https://gitee.com/openkylin/linux.git
serial/men_z135_uart: Deinline men_z135_reg_clr, save 176 bytes
This function compiles to 98 bytes of machine code. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> CC: Peter Hurley <peter@hurleysoftware.com> CC: Jiri Slaby <jslaby@suse.com> CC: linux-serial@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9cdb933274
commit
fed76af0c7
|
@ -158,7 +158,7 @@ static inline void men_z135_reg_set(struct men_z135_port *uart,
|
||||||
* @addr: Register address
|
* @addr: Register address
|
||||||
* @val: value to clear
|
* @val: value to clear
|
||||||
*/
|
*/
|
||||||
static inline void men_z135_reg_clr(struct men_z135_port *uart,
|
static void men_z135_reg_clr(struct men_z135_port *uart,
|
||||||
u32 addr, u32 val)
|
u32 addr, u32 val)
|
||||||
{
|
{
|
||||||
struct uart_port *port = &uart->port;
|
struct uart_port *port = &uart->port;
|
||||||
|
|
Loading…
Reference in New Issue