From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8818EC433EF for ; Thu, 30 Jun 2022 15:05:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235365AbiF3PFk (ORCPT ); Thu, 30 Jun 2022 11:05:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235352AbiF3PFk (ORCPT ); Thu, 30 Jun 2022 11:05:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C03411150; Thu, 30 Jun 2022 08:05:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 20B8BB82B67; Thu, 30 Jun 2022 15:05:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70F07C34115; Thu, 30 Jun 2022 15:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656601536; bh=HvXSmXzD95176SF4fVwzCKayvFOi0/Ha9nsK2bd/zx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dA7tdaVSAAbPDCbZ1O4ZrIks8KR44X+EUZUD5pPDYQNmuuJ9JtfjrIcn4TZx3tWkg in0sLdDRq5NayTw9nMa37od7Kq6+P4jV3ainNHRATJ9AH3k2pKF/2jOM3SwKBu7CXc v4iH4yqWehvP2xFRmNb0XDcpYofYSrOTerAUbzL8= Date: Thu, 30 Jun 2022 17:05:34 +0200 From: Greg Kroah-Hartman To: Andy Shevchenko Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Jiri Slaby Subject: Re: [PATCH v1 1/1] serial: 8250_dw: Sort headers alphabetically Message-ID: References: <20220630093816.28271-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220630093816.28271-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Thu, Jun 30, 2022 at 12:38:16PM +0300, Andy Shevchenko wrote: > For the sake of better maintenance, sort included headers alphabetically. How does that make anything easier to maintain? > While at it, split the serial group of headers which makes clear the > subsystem the driver belongs to. Where did you do that? > > Signed-off-by: Andy Shevchenko > --- > drivers/tty/serial/8250/8250_dw.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c > index d5df17455f1d..86762593579f 100644 > --- a/drivers/tty/serial/8250/8250_dw.c > +++ b/drivers/tty/serial/8250/8250_dw.c > @@ -9,26 +9,27 @@ > * LCR is written whilst busy. If it is, then a busy detect interrupt is > * raised, the LCR needs to be rewritten and the uart status register read. > */ > +#include > +#include > #include > #include > #include > #include > #include > -#include > -#include > +#include > #include > #include > +#include > #include > -#include > -#include > -#include > -#include > -#include > #include > -#include > +#include > +#include > > #include > > +#include > +#include Is this the "split"? Anyway, it's just code churn, I'll apply it... thanks, greg k-h