Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932306AbdIHHAJ (ORCPT ); Fri, 8 Sep 2017 03:00:09 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33931 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754089AbdIHHAI (ORCPT ); Fri, 8 Sep 2017 03:00:08 -0400 X-Google-Smtp-Source: AOwi7QAHXtyfRRr640eiFRR62IPuvDO5pEiA+i82dNsj/LytnOA0CekIVMazd9hmyxURy/itqnt72A== From: Antonio Borneo To: Greg Kroah-Hartman , Jiri Slaby Cc: Antonio Borneo , Jiri Kosina , linux-kernel@vger.kernel.org Subject: [PATCH V2] ttyport: trivial fix for some typo in comments Date: Fri, 8 Sep 2017 08:59:42 +0200 Message-Id: <20170908065942.10927-1-borneo.antonio@gmail.com> X-Mailer: git-send-email 2.14.1 References: <20170907205108.8630-1-borneo.antonio@gmail.com> <20170908052227.GA26413@kroah.com> In-Reply-To: <20170908052227.GA26413@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1405 Lines: 42 Fix some minor typo spotted in comments: - s/wit ha/with a/ - s/doestroyed/destroyed/ Signed-off-by: Antonio Borneo --- Changes: V1 -> V2 add commit message To: Greg Kroah-Hartman To: Jiri Slaby Cc: Jiri Kosina Cc: linux-kernel@vger.kernel.org --- drivers/tty/tty_port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c index 6b13719..1286f24 100644 --- a/drivers/tty/tty_port.c +++ b/drivers/tty/tty_port.c @@ -78,7 +78,7 @@ void tty_port_init(struct tty_port *port) * @driver: tty_driver for this device * @index: index of the tty * - * Provide the tty layer wit ha link from a tty (specified by @index) to a + * Provide the tty layer with a link from a tty (specified by @index) to a * tty_port (@port). Use this only if neither tty_port_register_device nor * tty_port_install is used in the driver. If used, this has to be called before * tty_register_driver. @@ -235,7 +235,7 @@ void tty_port_free_xmit_buf(struct tty_port *port) /** * tty_port_destroy -- destroy inited port - * @port: tty port to be doestroyed + * @port: tty port to be destroyed * * When a port was initialized using tty_port_init, one has to destroy the * port by this function. Either indirectly by using tty_port refcounting -- 1.9.1